summaryrefslogtreecommitdiff
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
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
-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)
52 unsigned char state; 52 unsigned char state;
53 static bool hold_button = false; 53 static bool hold_button = false;
54 54
55#ifndef BOOTLOADER
55 /* light handling */ 56 /* light handling */
56 if (hold_button && !button_hold()) 57 if (hold_button && !button_hold())
57 { 58 {
58 backlight_hold_changed(hold_button); 59 backlight_hold_changed(hold_button);
59 } 60 }
61#endif
60 62
61 hold_button = button_hold(); 63 hold_button = button_hold();
62 if (!hold_button) 64 if (!hold_button)