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