diff options
Diffstat (limited to 'apps/plugins/sdl')
-rw-r--r-- | apps/plugins/sdl/main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/sdl/main.c b/apps/plugins/sdl/main.c index be5192898c..6efb072faf 100644 --- a/apps/plugins/sdl/main.c +++ b/apps/plugins/sdl/main.c | |||
@@ -64,8 +64,9 @@ void cleanup(void) | |||
64 | if(audiobuf) | 64 | if(audiobuf) |
65 | memset(audiobuf, 0, 4); /* clear */ | 65 | memset(audiobuf, 0, 4); /* clear */ |
66 | 66 | ||
67 | #ifdef HAVE_BACKLIGHT | ||
67 | backlight_use_settings(); | 68 | backlight_use_settings(); |
68 | 69 | #endif | |
69 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ | 70 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ |
70 | rb->cpu_boost(false); | 71 | rb->cpu_boost(false); |
71 | #endif | 72 | #endif |
@@ -218,8 +219,9 @@ enum plugin_status plugin_start(const void *param) | |||
218 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ | 219 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ |
219 | rb->cpu_boost(true); | 220 | rb->cpu_boost(true); |
220 | #endif | 221 | #endif |
221 | 222 | #ifdef HAVE_BACKLIGHT | |
222 | backlight_ignore_timeout(); | 223 | backlight_ignore_timeout(); |
224 | #endif | ||
223 | /* set the real exit handler */ | 225 | /* set the real exit handler */ |
224 | #undef rb_atexit | 226 | #undef rb_atexit |
225 | rb_atexit(cleanup); | 227 | rb_atexit(cleanup); |