summaryrefslogtreecommitdiff
path: root/apps/plugins/mazezam.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mazezam.c')
-rw-r--r--apps/plugins/mazezam.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/mazezam.c b/apps/plugins/mazezam.c
index 423b09288d..cd7b6e22a8 100644
--- a/apps/plugins/mazezam.c
+++ b/apps/plugins/mazezam.c
@@ -256,7 +256,9 @@ static void store_lcd_settings(void)
256******************************************************************************/ 256******************************************************************************/
257static void restore_lcd_settings(void) { 257static void restore_lcd_settings(void) {
258 /* Turn on backlight timeout (revert to settings) */ 258 /* Turn on backlight timeout (revert to settings) */
259#ifdef HAVE_BACKLIGHT
259 backlight_use_settings(); 260 backlight_use_settings();
261#endif
260 262
261 /* Restore the old settings */ 263 /* Restore the old settings */
262#if LCD_DEPTH > 1 264#if LCD_DEPTH > 1
@@ -270,9 +272,10 @@ static void restore_lcd_settings(void) {
270* Adjust the LCD settings to suit MazezaM levels 272* Adjust the LCD settings to suit MazezaM levels
271******************************************************************************/ 273******************************************************************************/
272static void plugin_lcd_settings(void) { 274static void plugin_lcd_settings(void) {
275#ifdef HAVE_BACKLIGHT
273 /* Turn off backlight timeout */ 276 /* Turn off backlight timeout */
274 backlight_ignore_timeout(); 277 backlight_ignore_timeout();
275 278#endif
276 /* Set the new settings */ 279 /* Set the new settings */
277#ifdef HAVE_LCD_COLOR 280#ifdef HAVE_LCD_COLOR
278 rb->lcd_set_background(MAZEZAM_BG_COLOR); 281 rb->lcd_set_background(MAZEZAM_BG_COLOR);