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