mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
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
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
void power_touch_panel(bool on);
|
||||
|
||||
static inline bool _backlight_init(void)
|
||||
static inline bool backlight_hw_init(void)
|
||||
{
|
||||
GPIOD_DIR |= 0x2;
|
||||
/* set backlight on by default, since the screen is unreadable without it */
|
||||
|
|
@ -34,13 +34,13 @@ static inline bool _backlight_init(void)
|
|||
return true;
|
||||
}
|
||||
|
||||
static inline void _backlight_on(void)
|
||||
static inline void backlight_hw_on(void)
|
||||
{
|
||||
GPIOD |= 0x2;
|
||||
power_touch_panel(true);
|
||||
}
|
||||
|
||||
static inline void _backlight_off(void)
|
||||
static inline void backlight_hw_off(void)
|
||||
{
|
||||
GPIOD &= ~0x2;
|
||||
power_touch_panel(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue