platform: smart_leds: blank display on every frame

This commit is contained in:
Victoria Fischer 2024-11-16 12:06:46 +01:00
parent 24f0a336e6
commit d6e6f1c554

View File

@ -56,6 +56,7 @@ S: Surface {
impl<T: SmartLedsWrite<Color = Rgb<u8>>, S: Surface> Display<S> for SmartLedDisplay<T, S> {
fn start_frame(&mut self) {
self.pixbuf.fill(RGB8::new(0, 0, 0));
}
fn end_frame(&mut self) {