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.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/plugins/maze.c b/apps/plugins/maze.c
index e84173944b..b093a6439d 100644
--- a/apps/plugins/maze.c
+++ b/apps/plugins/maze.c
@@ -490,7 +490,10 @@ static void maze_move_player_left(struct maze* maze)
490/**********************************/ 490/**********************************/
491enum plugin_status plugin_start(const void* parameter) 491enum plugin_status plugin_start(const void* parameter)
492{ 492{
493 int button, lastbutton = BUTTON_NONE; 493 int button;
494#ifdef MAZE_NEW_PRE
495 int lastbutton = BUTTON_NONE;
496#endif
494 int quit = 0; 497 int quit = 0;
495 int i; 498 int i;
496 struct maze maze; 499 struct maze maze;
@@ -581,8 +584,10 @@ enum plugin_status plugin_start(const void* parameter)
581 } 584 }
582 break; 585 break;
583 } 586 }
587#ifdef MAZE_NEW_PRE
584 if( button != BUTTON_NONE ) 588 if( button != BUTTON_NONE )
585 lastbutton = button; 589 lastbutton = button;
590#endif
586 } 591 }
587 /* Turn on backlight timeout (revert to settings) */ 592 /* Turn on backlight timeout (revert to settings) */
588 backlight_use_settings(); 593 backlight_use_settings();