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:
Rani Hod 2006-08-08 22:43:40 +00:00
parent a27ab7206d
commit 7d4d6ce31b

View file

@ -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)
{