forked from buddhabrot/fusion-zauberstab
main: blank all leds on app switch
Signed-off-by: Thomas Schmid <tom@lfence.de>
This commit is contained in:
parent
872946fa9a
commit
9a4ae6cf41
@ -30,6 +30,7 @@ void loop()
|
|||||||
apps[current_app].get().deinit();
|
apps[current_app].get().deinit();
|
||||||
apps[next_app].get().init();
|
apps[next_app].get().init();
|
||||||
current_app = next_app;
|
current_app = next_app;
|
||||||
|
fadeToBlackBy(leds, NUM_LEDS, 0xFF);
|
||||||
}
|
}
|
||||||
|
|
||||||
apps[current_app].get().loop();
|
apps[current_app].get().loop();
|
||||||
|
Loading…
Reference in New Issue
Block a user