diff options
Diffstat (limited to 'apps/plugins/fire.c')
-rw-r--r-- | apps/plugins/fire.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugins/fire.c b/apps/plugins/fire.c index 4fc30173da..8873642f3c 100644 --- a/apps/plugins/fire.c +++ b/apps/plugins/fire.c | |||
@@ -277,8 +277,10 @@ static void cleanup(void *parameter) | |||
277 | #ifndef HAVE_LCD_COLOR | 277 | #ifndef HAVE_LCD_COLOR |
278 | grey_release(); | 278 | grey_release(); |
279 | #endif | 279 | #endif |
280 | #ifdef HAVE_BACKLIGHT | ||
280 | /* Turn on backlight timeout (revert to settings) */ | 281 | /* Turn on backlight timeout (revert to settings) */ |
281 | backlight_use_settings(); | 282 | backlight_use_settings(); |
283 | #endif | ||
282 | } | 284 | } |
283 | 285 | ||
284 | 286 | ||
@@ -366,15 +368,17 @@ enum plugin_status plugin_start(const void* parameter) | |||
366 | #if LCD_DEPTH > 1 | 368 | #if LCD_DEPTH > 1 |
367 | rb->lcd_set_backdrop(NULL); | 369 | rb->lcd_set_backdrop(NULL); |
368 | #endif | 370 | #endif |
371 | #ifdef HAVE_BACKLIGHT | ||
369 | /* Turn off backlight timeout */ | 372 | /* Turn off backlight timeout */ |
370 | backlight_ignore_timeout(); | 373 | backlight_ignore_timeout(); |
374 | #endif | ||
371 | 375 | ||
372 | #if defined(HAVE_LCD_MODES) && (HAVE_LCD_MODES & LCD_MODE_PAL256) | 376 | #if defined(HAVE_LCD_MODES) && (HAVE_LCD_MODES & LCD_MODE_PAL256) |
373 | rb->lcd_set_mode(LCD_MODE_PAL256); | 377 | rb->lcd_set_mode(LCD_MODE_PAL256); |
374 | #endif | 378 | #endif |
375 | 379 | ||
376 | ret = main(); | 380 | ret = main(); |
377 | 381 | ||
378 | #if defined(HAVE_LCD_MODES) && (HAVE_LCD_MODES & LCD_MODE_PAL256) | 382 | #if defined(HAVE_LCD_MODES) && (HAVE_LCD_MODES & LCD_MODE_PAL256) |
379 | rb->lcd_set_mode(LCD_MODE_RGB565); | 383 | rb->lcd_set_mode(LCD_MODE_RGB565); |
380 | #endif | 384 | #endif |