diff options
Diffstat (limited to 'apps/plugins/wormlet.c')
-rw-r--r-- | apps/plugins/wormlet.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c index b18cdc21f8..419b258fe5 100644 --- a/apps/plugins/wormlet.c +++ b/apps/plugins/wormlet.c | |||
@@ -2415,9 +2415,10 @@ static bool launch_wormlet(void) | |||
2415 | 2415 | ||
2416 | rb->lcd_clear_display(); | 2416 | rb->lcd_clear_display(); |
2417 | 2417 | ||
2418 | #ifdef HAVE_BACKLIGHT | ||
2418 | /* Turn off backlight timeout */ | 2419 | /* Turn off backlight timeout */ |
2419 | backlight_ignore_timeout(); | 2420 | backlight_ignore_timeout(); |
2420 | 2421 | #endif | |
2421 | /* start the game */ | 2422 | /* start the game */ |
2422 | while (game_result == 1) | 2423 | while (game_result == 1) |
2423 | game_result = run(); | 2424 | game_result = run(); |
@@ -2425,8 +2426,10 @@ static bool launch_wormlet(void) | |||
2425 | switch (game_result) | 2426 | switch (game_result) |
2426 | { | 2427 | { |
2427 | case 2: | 2428 | case 2: |
2429 | #ifdef HAVE_BACKLIGHT | ||
2428 | /* Turn on backlight timeout (revert to settings) */ | 2430 | /* Turn on backlight timeout (revert to settings) */ |
2429 | backlight_use_settings(); | 2431 | backlight_use_settings(); |
2432 | #endif | ||
2430 | return false; | 2433 | return false; |
2431 | break; | 2434 | break; |
2432 | } | 2435 | } |