forked from len0rd/rockbox
Moved implementation of user timer to the firmware layer, implemented it for iriver, and made it shareable based on priorities. On iriver, the user timer is shared between the backlight fading and other use, so if a plugin registers the timer, the backlight will resort to simple on/off switching until the plugin releases the timer again. Sorted and bumped the plugin api.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7242 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c20a00ef3e
commit
e44372ef18
12 changed files with 337 additions and 202 deletions
|
|
@ -30,9 +30,6 @@ void backlight_set_timeout(int index);
|
|||
#if CONFIG_BACKLIGHT == BL_IRIVER
|
||||
void backlight_set_fade_in(int index);
|
||||
void backlight_set_fade_out(int index);
|
||||
void backlight_allow_timer(bool on);
|
||||
#else
|
||||
#define backlight_allow_timer(on)
|
||||
#endif
|
||||
bool backlight_get_on_when_charging(void);
|
||||
void backlight_set_on_when_charging(bool yesno);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue