diff options
Diffstat (limited to 'apps/plugins/pong.c')
-rw-r--r-- | apps/plugins/pong.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/pong.c b/apps/plugins/pong.c index fcc4c5a3b9..a000a88fe7 100644 --- a/apps/plugins/pong.c +++ b/apps/plugins/pong.c | |||
@@ -747,8 +747,10 @@ enum plugin_status plugin_start(const void* parameter) | |||
747 | this to avoid the compiler warning about it */ | 747 | this to avoid the compiler warning about it */ |
748 | (void)parameter; | 748 | (void)parameter; |
749 | 749 | ||
750 | #ifdef HAVE_BACKLIGHT | ||
750 | /* Turn off backlight timeout */ | 751 | /* Turn off backlight timeout */ |
751 | backlight_ignore_timeout(); | 752 | backlight_ignore_timeout(); |
753 | #endif | ||
752 | /* Clear screen */ | 754 | /* Clear screen */ |
753 | rb->lcd_clear_display(); | 755 | rb->lcd_clear_display(); |
754 | 756 | ||
@@ -787,8 +789,9 @@ enum plugin_status plugin_start(const void* parameter) | |||
787 | rb->lcd_clear_display(); | 789 | rb->lcd_clear_display(); |
788 | } | 790 | } |
789 | } | 791 | } |
790 | 792 | #ifdef HAVE_BACKLIGHT | |
791 | /* Turn on backlight timeout (revert to settings) */ | 793 | /* Turn on backlight timeout (revert to settings) */ |
792 | backlight_use_settings(); | 794 | backlight_use_settings(); |
795 | #endif | ||
793 | return (game == 0) ? PLUGIN_OK : PLUGIN_USB_CONNECTED; | 796 | return (game == 0) ? PLUGIN_OK : PLUGIN_USB_CONNECTED; |
794 | } | 797 | } |