platform: smart_leds: format++
This commit is contained in:
parent
e3b5a9bde4
commit
7d8d59b508
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user