diff options
Diffstat (limited to 'apps/plugins/wormlet.c')
-rw-r--r-- | apps/plugins/wormlet.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c index 162cea6208..c09ef48bdc 100644 --- a/apps/plugins/wormlet.c +++ b/apps/plugins/wormlet.c | |||
@@ -2428,10 +2428,9 @@ static bool launch_wormlet(void) | |||
2428 | 2428 | ||
2429 | rb->lcd_clear_display(); | 2429 | rb->lcd_clear_display(); |
2430 | 2430 | ||
2431 | #ifdef HAVE_BACKLIGHT | ||
2432 | /* Turn off backlight timeout */ | 2431 | /* Turn off backlight timeout */ |
2433 | backlight_ignore_timeout(); | 2432 | backlight_ignore_timeout(); |
2434 | #endif | 2433 | |
2435 | /* start the game */ | 2434 | /* start the game */ |
2436 | while (game_result == 1) | 2435 | while (game_result == 1) |
2437 | game_result = run(); | 2436 | game_result = run(); |
@@ -2439,10 +2438,10 @@ static bool launch_wormlet(void) | |||
2439 | switch (game_result) | 2438 | switch (game_result) |
2440 | { | 2439 | { |
2441 | case 2: | 2440 | case 2: |
2442 | #ifdef HAVE_BACKLIGHT | 2441 | |
2443 | /* Turn on backlight timeout (revert to settings) */ | 2442 | /* Turn on backlight timeout (revert to settings) */ |
2444 | backlight_use_settings(); | 2443 | backlight_use_settings(); |
2445 | #endif | 2444 | |
2446 | return false; | 2445 | return false; |
2447 | break; | 2446 | break; |
2448 | } | 2447 | } |