summaryrefslogtreecommitdiff
path: root/firmware/target/arm/sandisk
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2010-09-17 19:05:27 +0000
committerFrank Gevaerts <frank@gevaerts.be>2010-09-17 19:05:27 +0000
commitf6912d3bbb9a2f7f46c72a42fc2d7d7b3c3343b3 (patch)
tree4fdb5992909f870d5c5cd294af0e9265d06be61d /firmware/target/arm/sandisk
parent011bece6ca3c1aab57732a58220cd1bae9223cee (diff)
Make the call to buttonlight_on() properly depend on HAVE_BUTTON_LIGHT
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28096 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/sandisk')
-rw-r--r--firmware/target/arm/sandisk/sansa-e200/button-e200.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/sandisk/sansa-e200/button-e200.c b/firmware/target/arm/sandisk/sansa-e200/button-e200.c
index be4a34d49f..52b8949396 100644
--- a/firmware/target/arm/sandisk/sansa-e200/button-e200.c
+++ b/firmware/target/arm/sandisk/sansa-e200/button-e200.c
@@ -171,7 +171,9 @@ void clickwheel_int(void)
* than every 1/4 second */
next_backlight_on = current_tick + HZ/4;
backlight_on();
+#ifdef HAVE_BUTTON_LIGHT
buttonlight_on();
+#endif
reset_poweroff_timer();
}