forked from len0rd/rockbox
Get rid of stupid _backlight_* function names
_remote_backlight_* and _buttonlight_* are cleaned as well Change-Id: I73653752831bbe170c26ba95d3bc04c2e3a5cf30
This commit is contained in:
parent
2a3e1628a5
commit
89ba7e818c
148 changed files with 679 additions and 687 deletions
|
|
@ -92,15 +92,15 @@ static void handle_wheel(unsigned char wheel)
|
|||
static unsigned char velocity = 0;
|
||||
static unsigned long wheel_delta = 1ul << 24;
|
||||
static unsigned char wheel_prev = 0;
|
||||
static long next_backlight_on = 0;
|
||||
static long nextbacklight_hw_on = 0;
|
||||
static int prev_key = -1;
|
||||
static int prev_key_post = 0;
|
||||
|
||||
if (TIME_AFTER(current_tick, next_backlight_on))
|
||||
if (TIME_AFTER(current_tick, nextbacklight_hw_on))
|
||||
{
|
||||
backlight_on();
|
||||
reset_poweroff_timer();
|
||||
next_backlight_on = current_tick + HZ/4;
|
||||
nextbacklight_hw_on = current_tick + HZ/4;
|
||||
}
|
||||
|
||||
if (wheel_prev < wheel)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue