mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -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
|
|
@ -21,22 +21,22 @@
|
|||
#ifndef BACKLIGHT_TARGET_H
|
||||
#define BACKLIGHT_TARGET_H
|
||||
|
||||
static inline bool _backlight_init(void)
|
||||
static inline bool backlight_hw_init(void)
|
||||
{
|
||||
GPIOD_DIR |= (1<<1);
|
||||
return true;
|
||||
}
|
||||
|
||||
static inline void _backlight_on(void)
|
||||
static inline void backlight_hw_on(void)
|
||||
{
|
||||
GPIOD_PIN(1) = (1<<1);
|
||||
}
|
||||
|
||||
static inline void _backlight_off(void)
|
||||
static inline void backlight_hw_off(void)
|
||||
{
|
||||
GPIOD_PIN(1) = 0x00;
|
||||
}
|
||||
|
||||
#define _backlight_panic_on() _backlight_on()
|
||||
#define _backlight_panic_on() backlight_hw_on()
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue