mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
* Don't touch the backlight(s) (and buttonlight) at backlight init in order to avoid a short flash when the lights are both disabled in the bootloader and in rockbox settings. * Properly reflect the backlight state set by the 1st/2nd gen bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14679 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c41470d33d
commit
f265ee9cd5
2 changed files with 29 additions and 7 deletions
|
@ -623,13 +623,9 @@ void backlight_init(void)
|
|||
# endif
|
||||
}
|
||||
#endif
|
||||
backlight_on();
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
remote_backlight_on();
|
||||
#endif
|
||||
#ifdef HAVE_BUTTON_LIGHT
|
||||
button_backlight_on();
|
||||
#endif
|
||||
/* Leave all lights as set by the bootloader here. The settings load will
|
||||
* call the appropriate backlight_set_*() functions, only changing light
|
||||
* status if necessary. */
|
||||
|
||||
create_thread(backlight_thread, backlight_stack,
|
||||
sizeof(backlight_stack), backlight_thread_name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue