mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
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:
parent
011bece6ca
commit
f6912d3bbb
1 changed files with 2 additions and 0 deletions
|
|
@ -171,7 +171,9 @@ void clickwheel_int(void)
|
||||||
* than every 1/4 second */
|
* than every 1/4 second */
|
||||||
next_backlight_on = current_tick + HZ/4;
|
next_backlight_on = current_tick + HZ/4;
|
||||||
backlight_on();
|
backlight_on();
|
||||||
|
#ifdef HAVE_BUTTON_LIGHT
|
||||||
buttonlight_on();
|
buttonlight_on();
|
||||||
|
#endif
|
||||||
reset_poweroff_timer();
|
reset_poweroff_timer();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue