summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/iriver/h10
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2006-09-10 17:59:59 +0000
committerBarry Wardell <rockbox@barrywardell.net>2006-09-10 17:59:59 +0000
commit8ccedc98da0b25e92696ceac3766e2ef97bd2469 (patch)
tree8ddd9e0909c7e5006359f70f29d9bb939e41bc15 /firmware/target/arm/iriver/h10
parent2937c504bbd63a726a072279e31d514640bf5260 (diff)
downloadrockbox-8ccedc98da0b25e92696ceac3766e2ef97bd2469.tar.gz
rockbox-8ccedc98da0b25e92696ceac3766e2ef97bd2469.zip
Fix H10 bootloader build error introduced in last commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10920 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/iriver/h10')
-rw-r--r--firmware/target/arm/iriver/h10/button-h10.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/iriver/h10/button-h10.c b/firmware/target/arm/iriver/h10/button-h10.c
index c31808a160..55f073839e 100644
--- a/firmware/target/arm/iriver/h10/button-h10.c
+++ b/firmware/target/arm/iriver/h10/button-h10.c
@@ -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)