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:
parent
2937c504bb
commit
8ccedc98da
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue