diff options
Diffstat (limited to 'apps/plugins/pacbox')
-rwxr-xr-x | apps/plugins/pacbox/pacbox.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/pacbox/pacbox.c b/apps/plugins/pacbox/pacbox.c index 33c1cf6bba..182e4a473a 100755 --- a/apps/plugins/pacbox/pacbox.c +++ b/apps/plugins/pacbox/pacbox.c | |||
@@ -768,9 +768,11 @@ enum plugin_status plugin_start(const void* parameter) | |||
768 | the settings have changed when we quit */ | 768 | the settings have changed when we quit */ |
769 | old_settings = settings; | 769 | old_settings = settings; |
770 | 770 | ||
771 | #ifdef HAVE_BACKLIGHT | ||
771 | /*Turn off backlight for ai*/ | 772 | /*Turn off backlight for ai*/ |
772 | if(settings.ai) | 773 | if(settings.ai) |
773 | backlight_ignore_timeout(); | 774 | backlight_ignore_timeout(); |
775 | #endif | ||
774 | 776 | ||
775 | /* Initialise the hardware */ | 777 | /* Initialise the hardware */ |
776 | init_PacmanMachine(settings_to_dip(settings)); | 778 | init_PacmanMachine(settings_to_dip(settings)); |
@@ -803,8 +805,8 @@ enum plugin_status plugin_start(const void* parameter) | |||
803 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ | 805 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ |
804 | rb->cpu_boost(false); | 806 | rb->cpu_boost(false); |
805 | #endif | 807 | #endif |
806 | 808 | #ifdef HAVE_BACKLIGHT | |
807 | backlight_use_settings(); | 809 | backlight_use_settings(); |
808 | 810 | #endif | |
809 | return PLUGIN_OK; | 811 | return PLUGIN_OK; |
810 | } | 812 | } |