summaryrefslogtreecommitdiff
path: root/apps/plugins/plasma.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/plasma.c')
-rw-r--r--apps/plugins/plasma.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/plasma.c b/apps/plugins/plasma.c
index 541d53cdef..3a2238bb60 100644
--- a/apps/plugins/plasma.c
+++ b/apps/plugins/plasma.c
@@ -138,8 +138,10 @@ static void cleanup(void)
138#ifndef HAVE_LCD_COLOR 138#ifndef HAVE_LCD_COLOR
139 grey_release(); 139 grey_release();
140#endif 140#endif
141#ifdef HAVE_BACKLIGHT
141 /* Turn on backlight timeout (revert to settings) */ 142 /* Turn on backlight timeout (revert to settings) */
142 backlight_use_settings(); 143 backlight_use_settings();
144#endif
143#if defined(HAVE_LCD_MODES) && (HAVE_LCD_MODES & LCD_MODE_PAL256) 145#if defined(HAVE_LCD_MODES) && (HAVE_LCD_MODES & LCD_MODE_PAL256)
144 rb->lcd_set_mode(LCD_MODE_RGB565); 146 rb->lcd_set_mode(LCD_MODE_RGB565);
145#endif 147#endif
@@ -317,9 +319,10 @@ enum plugin_status plugin_start(const void* parameter)
317#if LCD_DEPTH > 1 319#if LCD_DEPTH > 1
318 rb->lcd_set_backdrop(NULL); 320 rb->lcd_set_backdrop(NULL);
319#endif 321#endif
322#ifdef HAVE_BACKLIGHT
320 /* Turn off backlight timeout */ 323 /* Turn off backlight timeout */
321 backlight_ignore_timeout(); 324 backlight_ignore_timeout();
322 325#endif
323#if defined(HAVE_LCD_MODES) && (HAVE_LCD_MODES & LCD_MODE_PAL256) 326#if defined(HAVE_LCD_MODES) && (HAVE_LCD_MODES & LCD_MODE_PAL256)
324 rb->lcd_set_mode(LCD_MODE_PAL256); 327 rb->lcd_set_mode(LCD_MODE_PAL256);
325#endif 328#endif