diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2010-09-17 19:05:27 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2010-09-17 19:05:27 +0000 |
commit | f6912d3bbb9a2f7f46c72a42fc2d7d7b3c3343b3 (patch) | |
tree | 4fdb5992909f870d5c5cd294af0e9265d06be61d | |
parent | 011bece6ca3c1aab57732a58220cd1bae9223cee (diff) | |
download | rockbox-f6912d3bbb9a2f7f46c72a42fc2d7d7b3c3343b3.tar.gz rockbox-f6912d3bbb9a2f7f46c72a42fc2d7d7b3c3343b3.zip |
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
-rw-r--r-- | firmware/target/arm/sandisk/sansa-e200/button-e200.c | 2 |
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) | |||
171 | * than every 1/4 second */ | 171 | * than every 1/4 second */ |
172 | next_backlight_on = current_tick + HZ/4; | 172 | next_backlight_on = current_tick + HZ/4; |
173 | backlight_on(); | 173 | backlight_on(); |
174 | #ifdef HAVE_BUTTON_LIGHT | ||
174 | buttonlight_on(); | 175 | buttonlight_on(); |
176 | #endif | ||
175 | reset_poweroff_timer(); | 177 | reset_poweroff_timer(); |
176 | } | 178 | } |
177 | 179 | ||