summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-10-07 12:22:19 +0000
committerJens Arnold <amiconn@rockbox.org>2007-10-07 12:22:19 +0000
commit4efd9c4eefd72ae006b3e54a6a0322bc23e302c2 (patch)
treec1b6862c652dc7d76412b6956dcec6c725e6f9bd /firmware/target
parent7d34565c625ff011086a049a0f6bab13c7389d23 (diff)
c200: Make the backlight react on unlocking hold as intended.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15014 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/sandisk/sansa-c200/button-c200.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/sandisk/sansa-c200/button-c200.c b/firmware/target/arm/sandisk/sansa-c200/button-c200.c
index eedd937699..91fa8c65d5 100644
--- a/firmware/target/arm/sandisk/sansa-c200/button-c200.c
+++ b/firmware/target/arm/sandisk/sansa-c200/button-c200.c
@@ -44,6 +44,9 @@ int button_read_device(void)
hold_button_old = hold_button;
hold_button = button_hold();
+ if (hold_button != hold_button_old)
+ backlight_hold_changed(hold_button);
+
/* device buttons */
if (!hold_button)
{