From d6e6f1c5540f78a86520a795425a644844c2f406 Mon Sep 17 00:00:00 2001 From: Victoria Fischer Date: Sat, 16 Nov 2024 12:06:46 +0100 Subject: [PATCH] platform: smart_leds: blank display on every frame --- src/platform/smart_leds_lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platform/smart_leds_lib.rs b/src/platform/smart_leds_lib.rs index 08472dc..311b0a6 100644 --- a/src/platform/smart_leds_lib.rs +++ b/src/platform/smart_leds_lib.rs @@ -56,6 +56,7 @@ S: Surface { impl>, S: Surface> Display for SmartLedDisplay { fn start_frame(&mut self) { + self.pixbuf.fill(RGB8::new(0, 0, 0)); } fn end_frame(&mut self) {