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:
Rani Hod 2006-08-08 22:45:13 +00:00
parent 7d4d6ce31b
commit e559cdb916

View file

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