Remove two calls backlight_lcd_sleep_countdown() more, this time in backlight.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20795 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cbe67dcc9d
commit
179ac1039b
|
@ -376,10 +376,6 @@ static void backlight_dim(int value)
|
||||||
|
|
||||||
static void _backlight_on(void)
|
static void _backlight_on(void)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_LCD_SLEEP
|
|
||||||
backlight_lcd_sleep_countdown(false);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (bl_fade_in_step > 0)
|
if (bl_fade_in_step > 0)
|
||||||
{
|
{
|
||||||
#ifdef _BACKLIGHT_FADE_ENABLE
|
#ifdef _BACKLIGHT_FADE_ENABLE
|
||||||
|
@ -405,10 +401,6 @@ static void _backlight_off(void)
|
||||||
{
|
{
|
||||||
bl_dim_target = bl_dim_fraction = 0;
|
bl_dim_target = bl_dim_fraction = 0;
|
||||||
_backlight_off_normal();
|
_backlight_off_normal();
|
||||||
|
|
||||||
#ifdef HAVE_LCD_SLEEP
|
|
||||||
backlight_lcd_sleep_countdown(true);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user