platform: smart_leds: use 310 pixels instead of 300
This commit is contained in:
parent
d3a7f8a3e9
commit
ff610fa6aa
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user