summaryrefslogtreecommitdiff
path: root/apps/plugins/maze.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/maze.c')
-rw-r--r--apps/plugins/maze.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/maze.c b/apps/plugins/maze.c
index bcdb4ff553..20d5c82495 100644
--- a/apps/plugins/maze.c
+++ b/apps/plugins/maze.c
@@ -498,8 +498,10 @@ enum plugin_status plugin_start(const void* parameter)
498 struct maze maze; 498 struct maze maze;
499 (void)parameter; 499 (void)parameter;
500 500
501#ifdef HAVE_BACKLIGHT
501 /* Turn off backlight timeout */ 502 /* Turn off backlight timeout */
502 backlight_ignore_timeout(); 503 backlight_ignore_timeout();
504#endif
503 505
504 /* Seed the RNG */ 506 /* Seed the RNG */
505 rb->srand(*rb->current_tick); 507 rb->srand(*rb->current_tick);
@@ -589,6 +591,8 @@ enum plugin_status plugin_start(const void* parameter)
589#endif 591#endif
590 } 592 }
591 /* Turn on backlight timeout (revert to settings) */ 593 /* Turn on backlight timeout (revert to settings) */
594#ifdef HAVE_BACKLIGHT
592 backlight_use_settings(); 595 backlight_use_settings();
596#endif
593 return ((quit == 1) ? PLUGIN_OK : PLUGIN_USB_CONNECTED); 597 return ((quit == 1) ? PLUGIN_OK : PLUGIN_USB_CONNECTED);
594} 598}