fixed bootloader build error due to last commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10491 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a27ab7206d
commit
7d4d6ce31b
1 changed files with 2 additions and 0 deletions
|
@ -56,9 +56,11 @@ int button_read_device(void)
|
|||
hold_button_old = hold_button;
|
||||
hold_button = button_hold();
|
||||
|
||||
#ifndef BOOTLOADER
|
||||
/* give BL notice if HB state chaged */
|
||||
if (hold_button != hold_button_old)
|
||||
backlight_hold_changed(hold_button);
|
||||
#endif
|
||||
|
||||
if (!hold_button)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue