platform: smart_leds: use 310 pixels instead of 300

This commit is contained in:
Victoria Fischer 2024-11-23 14:52:36 +01:00
parent d3a7f8a3e9
commit ff610fa6aa

View File

@ -153,7 +153,7 @@ pub mod rmt {
impl<CSmart, CDev> DisplayInit for LedPixelEsp32Rmt<'_, CSmart, CDev> where
CSmart: HardwarePixel,
[CSmart; 300]: Pixbuf<CSmart>,
[CSmart; 310]: Pixbuf<CSmart>,
CDev: LedPixelColor + From<CSmart>,
Rgb<u8>: From<CSmart>
{
@ -167,7 +167,7 @@ pub mod rmt {
const MAX_POWER_MW : u32 = POWER_VOLTS * POWER_MA;
let target = Self::new(channel, led_pin).unwrap();
return SmartLedDisplay::<Self, S, 300>::new(target, MAX_POWER_MW);
return SmartLedDisplay::<Self, S, 310>::new(target, MAX_POWER_MW);
}
}
}