diff options
Diffstat (limited to 'apps/plugins/rockboy')
-rw-r--r-- | apps/plugins/rockboy/menu.c | 6 | ||||
-rw-r--r-- | apps/plugins/rockboy/rockboy.c | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/apps/plugins/rockboy/menu.c b/apps/plugins/rockboy/menu.c index caa8d499cb..6fafdc11a6 100644 --- a/apps/plugins/rockboy/menu.c +++ b/apps/plugins/rockboy/menu.c | |||
@@ -83,8 +83,9 @@ int do_user_menu(void) { | |||
83 | rb->lcd_set_mode(LCD_MODE_RGB565); | 83 | rb->lcd_set_mode(LCD_MODE_RGB565); |
84 | #endif | 84 | #endif |
85 | 85 | ||
86 | #ifdef HAVE_BACKLIGHT | ||
86 | backlight_use_settings(); | 87 | backlight_use_settings(); |
87 | 88 | #endif | |
88 | /* Clean out the button Queue */ | 89 | /* Clean out the button Queue */ |
89 | while (rb->button_get(false) != BUTTON_NONE) | 90 | while (rb->button_get(false) != BUTTON_NONE) |
90 | rb->yield(); | 91 | rb->yield(); |
@@ -138,9 +139,10 @@ int do_user_menu(void) { | |||
138 | rb->lcd_set_mode(LCD_MODE_PAL256); | 139 | rb->lcd_set_mode(LCD_MODE_PAL256); |
139 | #endif | 140 | #endif |
140 | 141 | ||
142 | #ifdef HAVE_BACKLIGHT | ||
141 | /* ignore backlight time out */ | 143 | /* ignore backlight time out */ |
142 | backlight_ignore_timeout(); | 144 | backlight_ignore_timeout(); |
143 | 145 | #endif | |
144 | return ret; | 146 | return ret; |
145 | } | 147 | } |
146 | 148 | ||
diff --git a/apps/plugins/rockboy/rockboy.c b/apps/plugins/rockboy/rockboy.c index 57f0c95ea6..202cdf6570 100644 --- a/apps/plugins/rockboy/rockboy.c +++ b/apps/plugins/rockboy/rockboy.c | |||
@@ -594,9 +594,10 @@ enum plugin_status plugin_start(const void* parameter) | |||
594 | rb->lcd_set_mode(LCD_MODE_PAL256); | 594 | rb->lcd_set_mode(LCD_MODE_PAL256); |
595 | #endif | 595 | #endif |
596 | 596 | ||
597 | #ifdef HAVE_BACKLIGHT | ||
597 | /* ignore backlight time out */ | 598 | /* ignore backlight time out */ |
598 | backlight_ignore_timeout(); | 599 | backlight_ignore_timeout(); |
599 | 600 | #endif | |
600 | gnuboy_main(parameter); | 601 | gnuboy_main(parameter); |
601 | 602 | ||
602 | #ifdef HAVE_WHEEL_POSITION | 603 | #ifdef HAVE_WHEEL_POSITION |
@@ -607,7 +608,9 @@ enum plugin_status plugin_start(const void* parameter) | |||
607 | rb->lcd_set_mode(LCD_MODE_RGB565); | 608 | rb->lcd_set_mode(LCD_MODE_RGB565); |
608 | #endif | 609 | #endif |
609 | 610 | ||
611 | #ifdef HAVE_BACKLIGHT | ||
610 | backlight_use_settings(); | 612 | backlight_use_settings(); |
613 | #endif | ||
611 | 614 | ||
612 | if(!rb->audio_status()) | 615 | if(!rb->audio_status()) |
613 | rockboy_pcm_close(); | 616 | rockboy_pcm_close(); |