summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/sdl/main.c')
-rw-r--r--apps/plugins/sdl/main.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/plugins/sdl/main.c b/apps/plugins/sdl/main.c
index 6efb072faf..7220c7cfd9 100644
--- a/apps/plugins/sdl/main.c
+++ b/apps/plugins/sdl/main.c
@@ -64,9 +64,8 @@ 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
68 backlight_use_settings(); 67 backlight_use_settings();
69#endif 68
70#ifdef HAVE_ADJUSTABLE_CPU_FREQ 69#ifdef HAVE_ADJUSTABLE_CPU_FREQ
71 rb->cpu_boost(false); 70 rb->cpu_boost(false);
72#endif 71#endif
@@ -219,9 +218,9 @@ enum plugin_status plugin_start(const void *param)
219#ifdef HAVE_ADJUSTABLE_CPU_FREQ 218#ifdef HAVE_ADJUSTABLE_CPU_FREQ
220 rb->cpu_boost(true); 219 rb->cpu_boost(true);
221#endif 220#endif
222#ifdef HAVE_BACKLIGHT 221
223 backlight_ignore_timeout(); 222 backlight_ignore_timeout();
224#endif 223
225 /* set the real exit handler */ 224 /* set the real exit handler */
226#undef rb_atexit 225#undef rb_atexit
227 rb_atexit(cleanup); 226 rb_atexit(cleanup);