platform: move platform lib bits into platform module
This commit is contained in:
@@ -18,23 +18,17 @@ use crate::task::Task;
|
||||
use crate::platform::DisplayInit;
|
||||
use crate::lib8::IntoRgb8;
|
||||
|
||||
#[cfg(feature="embedded-graphics")]
|
||||
mod embedded_graphics_lib;
|
||||
|
||||
#[cfg(feature="rmt")]
|
||||
#[cfg(feature="embedded-graphics")]
|
||||
use ws2812_esp32_rmt_driver::lib_embedded_graphics::PonderjarTarget;
|
||||
|
||||
#[cfg(feature="smart-leds")]
|
||||
mod smart_leds_lib;
|
||||
|
||||
#[cfg(feature="rmt")]
|
||||
#[cfg(feature="smart-leds")]
|
||||
use ws2812_esp32_rmt_driver::lib_smart_leds::Ws2812Esp32Rmt;
|
||||
|
||||
#[cfg(feature="spi")]
|
||||
#[cfg(feature="smart-leds")]
|
||||
use crate::smart_leds_lib::spi::SPIDisplay;
|
||||
use crate::platform::smart_leds_lib::spi::SPIDisplay;
|
||||
|
||||
#[cfg(feature="threads")]
|
||||
use crate::render::SharedSurface;
|
||||
|
Reference in New Issue
Block a user