main: blank all leds on app switch

Signed-off-by: Thomas Schmid <tom@lfence.de>
This commit is contained in:
Thomas 2022-06-19 15:16:26 +02:00
parent 872946fa9a
commit 9a4ae6cf41

View File

@ -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();