diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-11-23 20:12:33 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-11-23 20:12:33 +0000 |
commit | a6d409d9db969aedd3977ca3d0894bbf75533e39 (patch) | |
tree | 848ac0a55eb16c5f407017d3f7f73318f248088d /firmware/export | |
parent | 47569223ebb5e99040c7c5cfc7d2a725999c6197 (diff) |
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
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/backlight.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/firmware/export/backlight.h b/firmware/export/backlight.h index 6d3d4d5451..9c3f5aa90b 100644 --- a/firmware/export/backlight.h +++ b/firmware/export/backlight.h @@ -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 |