forked from len0rd/rockbox
Replaced the booolean 'Backlight On When Plugged' setting with a complete alternative 'Backlight When Plugged' timeout setting. * Yield during poweroff to make backlight_off() work. * Bumped config version, save your settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8053 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
47569223eb
commit
a6d409d9db
9 changed files with 113 additions and 133 deletions
|
|
@ -26,13 +26,12 @@ void backlight_off(void);
|
|||
void backlight_set_timeout(int index);
|
||||
#ifdef CONFIG_BACKLIGHT
|
||||
void backlight_init(void);
|
||||
int backlight_get_timeout(void);
|
||||
int backlight_get_current_timeout(void);
|
||||
#if CONFIG_BACKLIGHT == BL_IRIVER_H100
|
||||
void backlight_set_fade_in(int index);
|
||||
void backlight_set_fade_out(int index);
|
||||
#endif
|
||||
bool backlight_get_on_when_charging(void);
|
||||
void backlight_set_on_when_charging(bool yesno);
|
||||
void backlight_set_timeout_plugged(int index);
|
||||
extern const char backlight_timeout_value[];
|
||||
#else
|
||||
#define backlight_init()
|
||||
|
|
@ -42,7 +41,7 @@ extern const char backlight_timeout_value[];
|
|||
void remote_backlight_on(void);
|
||||
void remote_backlight_off(void);
|
||||
void remote_backlight_set_timeout(int index);
|
||||
void remote_backlight_set_on_when_charging(bool yesno);
|
||||
void remote_backlight_set_timeout_plugged(int index);
|
||||
#endif
|
||||
|
||||
#ifdef SIMULATOR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue