diff options
Diffstat (limited to 'apps/plugins/rockblox.c')
-rw-r--r-- | apps/plugins/rockblox.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/rockblox.c b/apps/plugins/rockblox.c index 6d5ef8023e..d86cb1c293 100644 --- a/apps/plugins/rockblox.c +++ b/apps/plugins/rockblox.c | |||
@@ -1345,13 +1345,13 @@ static int rockblox_loop (void) | |||
1345 | #ifdef HAS_BUTTON_HOLD | 1345 | #ifdef HAS_BUTTON_HOLD |
1346 | if (rb->button_hold ()) { | 1346 | if (rb->button_hold ()) { |
1347 | /* Turn on backlight timeout (revert to settings) */ | 1347 | /* Turn on backlight timeout (revert to settings) */ |
1348 | backlight_use_settings(); /* backlight control in lib/helper.c */ | 1348 | backlight_use_settings(); |
1349 | rb->splash(0, "Paused"); | 1349 | rb->splash(0, "Paused"); |
1350 | while (rb->button_hold ()) | 1350 | while (rb->button_hold ()) |
1351 | rb->sleep(HZ/10); | 1351 | rb->sleep(HZ/10); |
1352 | 1352 | ||
1353 | /* Turn off backlight timeout */ | 1353 | /* Turn off backlight timeout */ |
1354 | backlight_force_on(); /* backlight control in lib/helper.c */ | 1354 | backlight_ignore_timeout(); |
1355 | 1355 | ||
1356 | /* get rid of the splash text */ | 1356 | /* get rid of the splash text */ |
1357 | rb->lcd_bitmap (rockblox_background, 0, 0, LCD_WIDTH, LCD_HEIGHT); | 1357 | rb->lcd_bitmap (rockblox_background, 0, 0, LCD_WIDTH, LCD_HEIGHT); |
@@ -1527,7 +1527,7 @@ enum plugin_status plugin_start (const void *parameter) | |||
1527 | } | 1527 | } |
1528 | #endif | 1528 | #endif |
1529 | /* Turn off backlight timeout */ | 1529 | /* Turn off backlight timeout */ |
1530 | backlight_force_on(); /* backlight control in lib/helper.c */ | 1530 | backlight_ignore_timeout(); |
1531 | load_game(); | 1531 | load_game(); |
1532 | resume_file = resume; | 1532 | resume_file = resume; |
1533 | while(!rockblox_loop()) { | 1533 | while(!rockblox_loop()) { |
@@ -1548,7 +1548,7 @@ enum plugin_status plugin_start (const void *parameter) | |||
1548 | #endif | 1548 | #endif |
1549 | /* Save user's HighScore */ | 1549 | /* Save user's HighScore */ |
1550 | highscore_save(SCORE_FILE, highscores, NUM_SCORES); | 1550 | highscore_save(SCORE_FILE, highscores, NUM_SCORES); |
1551 | backlight_use_settings(); /* backlight control in lib/helper.c */ | 1551 | backlight_use_settings(); |
1552 | 1552 | ||
1553 | return PLUGIN_OK; | 1553 | return PLUGIN_OK; |
1554 | } | 1554 | } |