Fix H10 bootloader build error introduced in last commit.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10920 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Barry Wardell 2006-09-10 17:59:59 +00:00
parent 2937c504bb
commit 8ccedc98da

View file

@ -52,11 +52,13 @@ int button_read_device(void)
unsigned char state;
static bool hold_button = false;
#ifndef BOOTLOADER
/* light handling */
if (hold_button && !button_hold())
{
backlight_hold_changed(hold_button);
}
#endif
hold_button = button_hold();
if (!hold_button)