Get rid of stupid _backlight_* function names

_remote_backlight_* and _buttonlight_* are cleaned as well

Change-Id: I73653752831bbe170c26ba95d3bc04c2e3a5cf30
This commit is contained in:
Marcin Bukat 2015-01-09 00:22:40 +01:00 committed by Gerrit Rockbox
parent 2a3e1628a5
commit 89ba7e818c
148 changed files with 679 additions and 687 deletions

View file

@ -80,7 +80,7 @@ void scrollstrip_isr(void)
static signed char prev_scroll_lines = -1;
static signed char direction = 0;
static unsigned char count = 0;
static long next_backlight_on = 0;
static long nextbacklight_hw_on = 0;
signed int new_scroll_lines;
signed int scroll_dir;
@ -120,11 +120,11 @@ void scrollstrip_isr(void)
}
/* poke backlight */
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;
}
/* apply sensitivity filter */