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, 1 insertions, 4 deletions
diff --git a/apps/plugins/mazezam.c b/apps/plugins/mazezam.c
index cd7b6e22a8..423b09288d 100644
--- a/apps/plugins/mazezam.c
+++ b/apps/plugins/mazezam.c
@@ -256,9 +256,7 @@ 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
260 backlight_use_settings(); 259 backlight_use_settings();
261#endif
262 260
263 /* Restore the old settings */ 261 /* Restore the old settings */
264#if LCD_DEPTH > 1 262#if LCD_DEPTH > 1
@@ -272,10 +270,9 @@ static void restore_lcd_settings(void) {
272* Adjust the LCD settings to suit MazezaM levels 270* Adjust the LCD settings to suit MazezaM levels
273******************************************************************************/ 271******************************************************************************/
274static void plugin_lcd_settings(void) { 272static void plugin_lcd_settings(void) {
275#ifdef HAVE_BACKLIGHT
276 /* Turn off backlight timeout */ 273 /* Turn off backlight timeout */
277 backlight_ignore_timeout(); 274 backlight_ignore_timeout();
278#endif 275
279 /* Set the new settings */ 276 /* Set the new settings */
280#ifdef HAVE_LCD_COLOR 277#ifdef HAVE_LCD_COLOR
281 rb->lcd_set_background(MAZEZAM_BG_COLOR); 278 rb->lcd_set_background(MAZEZAM_BG_COLOR);