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