summaryrefslogtreecommitdiff
path: root/firmware/target/arm/iriver/h10
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 /firmware/target/arm/iriver/h10
parent2102dbf47e3a5c6ac51c8f8a45c3fbacd75ac928 (diff)
Make "Backlight (On hold key)" option work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10919 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/iriver/h10')
-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)
unsigned char state;
static bool hold_button = false;
-#if 0
/* light handling */
if (hold_button && !button_hold())
{
- backlight_on();
+ backlight_hold_changed(hold_button);
}
-#endif
hold_button = button_hold();
if (!hold_button)