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
This commit is contained in:
Frank Gevaerts 2010-09-17 19:05:27 +00:00
parent 011bece6ca
commit f6912d3bbb

View file

@ -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();
}