1
0
Fork 0
forked from len0rd/rockbox

Added caption backlight: Turns on backlight briefly at the start and end of each track.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3585 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2003-04-23 09:17:34 +00:00
parent b39dadf7f2
commit 86587527f5
7 changed files with 39 additions and 4 deletions

View file

@ -41,7 +41,7 @@ static bool backlight_on_when_charging = 0;
static int backlight_timer;
static int backlight_timeout = 5;
static char timeout_value[19] =
const char backlight_timeout_value[19] =
{
-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30, 45, 60, 90
};
@ -63,7 +63,7 @@ void backlight_thread(void)
}
else
{
backlight_timer = HZ*timeout_value[backlight_timeout];
backlight_timer = HZ*backlight_timeout_value[backlight_timeout];
}
if(backlight_timer < 0)