fixed bootloader problem not only for x5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10492 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7d4d6ce31b
commit
e559cdb916
1 changed files with 2 additions and 0 deletions
|
@ -850,8 +850,10 @@ static int button_read(void)
|
|||
hold_button_old = hold_button;
|
||||
hold_button = button_hold();
|
||||
|
||||
#ifndef BOOTLOADER
|
||||
if (hold_button != hold_button_old)
|
||||
backlight_hold_changed(hold_button);
|
||||
#endif
|
||||
|
||||
if (!hold_button)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue