diff options
Diffstat (limited to 'apps/plugins/demystify.c')
-rw-r--r-- | apps/plugins/demystify.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/apps/plugins/demystify.c b/apps/plugins/demystify.c index 74537e94f8..1a1505ff96 100644 --- a/apps/plugins/demystify.c +++ b/apps/plugins/demystify.c | |||
@@ -262,12 +262,10 @@ static void polygons_draw(struct polygon_fifo * polygons, struct screen * displa | |||
262 | 262 | ||
263 | static void cleanup(void) | 263 | static void cleanup(void) |
264 | { | 264 | { |
265 | #ifdef HAVE_BACKLIGHT | 265 | |
266 | backlight_use_settings(); | 266 | backlight_use_settings(); |
267 | #ifdef HAVE_REMOTE_LCD | ||
268 | remote_backlight_use_settings(); | 267 | remote_backlight_use_settings(); |
269 | #endif | 268 | |
270 | #endif | ||
271 | } | 269 | } |
272 | 270 | ||
273 | #ifdef HAVE_LCD_COLOR | 271 | #ifdef HAVE_LCD_COLOR |
@@ -438,12 +436,10 @@ enum plugin_status plugin_start(const void* parameter) | |||
438 | #if LCD_DEPTH > 1 | 436 | #if LCD_DEPTH > 1 |
439 | rb->lcd_set_backdrop(NULL); | 437 | rb->lcd_set_backdrop(NULL); |
440 | #endif | 438 | #endif |
441 | #ifdef HAVE_BACKLIGHT | 439 | |
442 | backlight_ignore_timeout(); | 440 | backlight_ignore_timeout(); |
443 | #ifdef HAVE_REMOTE_LCD | ||
444 | remote_backlight_ignore_timeout(); | 441 | remote_backlight_ignore_timeout(); |
445 | #endif | 442 | |
446 | #endif | ||
447 | ret = plugin_main(); | 443 | ret = plugin_main(); |
448 | 444 | ||
449 | return ret; | 445 | return ret; |