platform: smart_leds: format++

This commit is contained in:
Victoria Fischer 2024-11-16 12:16:51 +01:00
parent e3b5a9bde4
commit 7d8d59b508

View File

@ -100,8 +100,8 @@ pub mod rmt {
use crate::render::{Display, Surface}; use crate::render::{Display, Surface};
use crate::platform::smart_leds_lib::SmartLedDisplay; use crate::platform::smart_leds_lib::SmartLedDisplay;
use crate::platform::DisplayInit; use crate::platform::DisplayInit;
impl DisplayInit for Ws2812Esp32Rmt<'_> { impl DisplayInit for Ws2812Esp32Rmt<'_> {
fn new_display<S: Surface>() -> impl Display<S> { fn new_display<S: Surface>() -> impl Display<S> {
let peripherals = Peripherals::take().unwrap(); let peripherals = Peripherals::take().unwrap();