platform: smart_leds: simplify trait hierarchy and push pixel type conversion even closer towards the hardware

This commit is contained in:
2024-11-24 23:53:43 +01:00
parent a76d040ff6
commit 04f5575ba6
2 changed files with 138 additions and 68 deletions

View File

@@ -19,7 +19,7 @@ use crate::platform::embedded_graphics_lib::PonderjarTarget as DisplayType;
#[cfg(feature="smart-leds")]
#[cfg(feature="rmt")]
use ws2812_esp32_rmt_driver::lib_smart_leds::Ws2812Esp32Rmt as DisplayType;
use crate::platform::smart_leds_lib::rmt::FastWs2812Esp32Rmt as DisplayType;
#[cfg(feature="smart-leds")]
#[cfg(feature="spi")]