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.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/plugins/maze.c b/apps/plugins/maze.c
index 20d5c82495..8c951ebdcc 100644
--- a/apps/plugins/maze.c
+++ b/apps/plugins/maze.c
@@ -498,10 +498,8 @@ 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
502 /* Turn off backlight timeout */ 501 /* Turn off backlight timeout */
503 backlight_ignore_timeout(); 502 backlight_ignore_timeout();
504#endif
505 503
506 /* Seed the RNG */ 504 /* Seed the RNG */
507 rb->srand(*rb->current_tick); 505 rb->srand(*rb->current_tick);
@@ -591,8 +589,7 @@ enum plugin_status plugin_start(const void* parameter)
591#endif 589#endif
592 } 590 }
593 /* Turn on backlight timeout (revert to settings) */ 591 /* Turn on backlight timeout (revert to settings) */
594#ifdef HAVE_BACKLIGHT
595 backlight_use_settings(); 592 backlight_use_settings();
596#endif 593
597 return ((quit == 1) ? PLUGIN_OK : PLUGIN_USB_CONNECTED); 594 return ((quit == 1) ? PLUGIN_OK : PLUGIN_USB_CONNECTED);
598} 595}