diff options
Diffstat (limited to 'apps/plugins/xworld')
-rw-r--r-- | apps/plugins/xworld/sys.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/plugins/xworld/sys.c b/apps/plugins/xworld/sys.c index a806de5297..ece9d87b66 100644 --- a/apps/plugins/xworld/sys.c +++ b/apps/plugins/xworld/sys.c | |||
@@ -122,9 +122,8 @@ void exit_handler(void) | |||
122 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ | 122 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ |
123 | rb->cpu_boost(false); | 123 | rb->cpu_boost(false); |
124 | #endif | 124 | #endif |
125 | #ifdef HAVE_BACKLIGHT | 125 | |
126 | backlight_use_settings(); | 126 | backlight_use_settings(); |
127 | #endif | ||
128 | } | 127 | } |
129 | 128 | ||
130 | static bool sys_do_help(void) | 129 | static bool sys_do_help(void) |
@@ -428,9 +427,8 @@ void sys_menu(struct System* sys) | |||
428 | void sys_init(struct System* sys, const char* title) | 427 | void sys_init(struct System* sys, const char* title) |
429 | { | 428 | { |
430 | (void) title; | 429 | (void) title; |
431 | #ifdef HAVE_BACKLIGHT | 430 | |
432 | backlight_ignore_timeout(); | 431 | backlight_ignore_timeout(); |
433 | #endif | ||
434 | rb_atexit(exit_handler); | 432 | rb_atexit(exit_handler); |
435 | save_sys = sys; | 433 | save_sys = sys; |
436 | rb->memset(&sys->input, 0, sizeof(sys->input)); | 434 | rb->memset(&sys->input, 0, sizeof(sys->input)); |