summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2006-09-10 13:18:33 +0000
committerBarry Wardell <rockbox@barrywardell.net>2006-09-10 13:18:33 +0000
commit2937c504bbd63a726a072279e31d514640bf5260 (patch)
tree3f44306c077875a43175bc3d387d0192f35e860f
parent2102dbf47e3a5c6ac51c8f8a45c3fbacd75ac928 (diff)
downloadrockbox-2937c504bbd63a726a072279e31d514640bf5260.tar.gz
rockbox-2937c504bbd63a726a072279e31d514640bf5260.zip
Make "Backlight (On hold key)" option work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10919 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/iriver/h10/button-h10.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/firmware/target/arm/iriver/h10/button-h10.c b/firmware/target/arm/iriver/h10/button-h10.c
index cd28e25c71..c31808a160 100644
--- a/firmware/target/arm/iriver/h10/button-h10.c
+++ b/firmware/target/arm/iriver/h10/button-h10.c
@@ -52,13 +52,11 @@ 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#if 0
56 /* light handling */ 55 /* light handling */
57 if (hold_button && !button_hold()) 56 if (hold_button && !button_hold())
58 { 57 {
59 backlight_on(); 58 backlight_hold_changed(hold_button);
60 } 59 }
61#endif
62 60
63 hold_button = button_hold(); 61 hold_button = button_hold();
64 if (!hold_button) 62 if (!hold_button)