1
0
Fork 0
forked from len0rd/rockbox

Fix some plugins not using the helper functions for the new backlight timeout handling.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15849 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2007-11-29 23:55:58 +00:00
parent feb75d43c8
commit bf2a33485f
8 changed files with 71 additions and 37 deletions

View file

@ -78,11 +78,11 @@ void clock_settings_reset(struct clock_settings* settings){
void apply_backlight_setting(int backlight_setting)
{
if(backlight_setting == ALWAS_OFF)
rb->backlight_set_timeout(0);
rb->backlight_set_timeout(-1);
else if(backlight_setting == ROCKBOX_SETTING)
rb->backlight_set_timeout(rb->global_settings->backlight_timeout);
else if(backlight_setting == ALWAYS_ON)
rb->backlight_set_timeout(1);
rb->backlight_set_timeout(0);
}
void clock_settings_skin_next(struct clock_settings* settings){