summaryrefslogtreecommitdiffstats
path: root/apps/plugins/demystify.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/demystify.c')
-rw-r--r--apps/plugins/demystify.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/demystify.c b/apps/plugins/demystify.c
index a389018c4e..74537e94f8 100644
--- a/apps/plugins/demystify.c
+++ b/apps/plugins/demystify.c
@@ -262,10 +262,12 @@ static void polygons_draw(struct polygon_fifo * polygons, struct screen * displa
static void cleanup(void)
{
+#ifdef HAVE_BACKLIGHT
backlight_use_settings();
#ifdef HAVE_REMOTE_LCD
remote_backlight_use_settings();
#endif
+#endif
}
#ifdef HAVE_LCD_COLOR
@@ -436,10 +438,12 @@ enum plugin_status plugin_start(const void* parameter)
#if LCD_DEPTH > 1
rb->lcd_set_backdrop(NULL);
#endif
+#ifdef HAVE_BACKLIGHT
backlight_ignore_timeout();
#ifdef HAVE_REMOTE_LCD
remote_backlight_ignore_timeout();
#endif
+#endif
ret = plugin_main();
return ret;