diff options
Diffstat (limited to 'apps/plugins/chopper.c')
-rw-r--r-- | apps/plugins/chopper.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/chopper.c b/apps/plugins/chopper.c index f42801f10f..37fed5dd01 100644 --- a/apps/plugins/chopper.c +++ b/apps/plugins/chopper.c | |||
@@ -1105,8 +1105,10 @@ enum plugin_status plugin_start(const void* parameter) | |||
1105 | rb->lcd_set_foreground(LCD_WHITE); | 1105 | rb->lcd_set_foreground(LCD_WHITE); |
1106 | #endif | 1106 | #endif |
1107 | 1107 | ||
1108 | #ifdef HAVE_BACKLIGHT | ||
1108 | /* Turn off backlight timeout */ | 1109 | /* Turn off backlight timeout */ |
1109 | backlight_ignore_timeout(); | 1110 | backlight_ignore_timeout(); |
1111 | #endif | ||
1110 | 1112 | ||
1111 | rb->srand( *rb->current_tick ); | 1113 | rb->srand( *rb->current_tick ); |
1112 | 1114 | ||
@@ -1118,8 +1120,10 @@ enum plugin_status plugin_start(const void* parameter) | |||
1118 | configfile_save(CFG_FILE, config, 1, 0); | 1120 | configfile_save(CFG_FILE, config, 1, 0); |
1119 | 1121 | ||
1120 | rb->lcd_setfont(FONT_UI); | 1122 | rb->lcd_setfont(FONT_UI); |
1123 | #ifdef HAVE_BACKLIGHT | ||
1121 | /* Turn on backlight timeout (revert to settings) */ | 1124 | /* Turn on backlight timeout (revert to settings) */ |
1122 | backlight_use_settings(); | 1125 | backlight_use_settings(); |
1126 | #endif | ||
1123 | 1127 | ||
1124 | return ret; | 1128 | return ret; |
1125 | } | 1129 | } |