mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
plugins: More HAVE_BACKLIGHT cleanup
Change-Id: I70cf700f5bc3d4375c025efa62ef40fd2bd70293
This commit is contained in:
parent
2127906384
commit
9be5bc4cf0
30 changed files with 149 additions and 44 deletions
|
|
@ -121,7 +121,9 @@ void exit_handler(void)
|
|||
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
||||
rb->cpu_boost(false);
|
||||
#endif
|
||||
#ifdef HAVE_BACKLIGHT
|
||||
backlight_use_settings();
|
||||
#endif
|
||||
}
|
||||
|
||||
static bool sys_do_help(void)
|
||||
|
|
@ -425,7 +427,9 @@ void sys_menu(struct System* sys)
|
|||
void sys_init(struct System* sys, const char* title)
|
||||
{
|
||||
(void) title;
|
||||
#ifdef HAVE_BACKLIGHT
|
||||
backlight_ignore_timeout();
|
||||
#endif
|
||||
rb_atexit(exit_handler);
|
||||
save_sys = sys;
|
||||
rb->memset(&sys->input, 0, sizeof(sys->input));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue