From 9a4ae6cf41fc69c9b883be8cadc578cc9588fde1 Mon Sep 17 00:00:00 2001 From: Thomas Schmid Date: Sun, 19 Jun 2022 15:16:26 +0200 Subject: [PATCH] main: blank all leds on app switch Signed-off-by: Thomas Schmid --- firmware/src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/firmware/src/main.cpp b/firmware/src/main.cpp index 1620cc6..ed6e54d 100644 --- a/firmware/src/main.cpp +++ b/firmware/src/main.cpp @@ -30,6 +30,7 @@ void loop() apps[current_app].get().deinit(); apps[next_app].get().init(); current_app = next_app; + fadeToBlackBy(leds, NUM_LEDS, 0xFF); } apps[current_app].get().loop();