|
|
@ -256,6 +256,9 @@ static DECLARE_THREAD_FUNCTION(visualizerThread, arg) {
|
|
|
|
.mods = 0xFF,
|
|
|
|
.mods = 0xFF,
|
|
|
|
.leds = 0xFFFFFFFF,
|
|
|
|
.leds = 0xFFFFFFFF,
|
|
|
|
.suspended = false,
|
|
|
|
.suspended = false,
|
|
|
|
|
|
|
|
#ifdef BACKLIGHT_ENABLE
|
|
|
|
|
|
|
|
.backlight_level = 0,
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#ifdef VISUALIZER_USER_DATA_SIZE
|
|
|
|
#ifdef VISUALIZER_USER_DATA_SIZE
|
|
|
|
.user_data = {0},
|
|
|
|
.user_data = {0},
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
@ -300,6 +303,7 @@ static DECLARE_THREAD_FUNCTION(visualizerThread, arg) {
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
gdispGSetPowerMode(LED_DISPLAY, powerOff);
|
|
|
|
gdispGSetPowerMode(LED_DISPLAY, powerOff);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
state.status.backlight_level = current_status.backlight_level;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
if (visualizer_enabled) {
|
|
|
|
if (visualizer_enabled) {
|
|
|
|