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
|
|
@ -24,13 +24,13 @@
|
|||
#include "as3525v2.h"
|
||||
#include "ascodec.h"
|
||||
|
||||
void _backlight_on(void)
|
||||
void backlight_hw_on(void)
|
||||
{
|
||||
ascodec_write_pmu(AS3543_BACKLIGHT, 1, 0x90);
|
||||
lcd_enable(true);
|
||||
}
|
||||
|
||||
void _backlight_off(void)
|
||||
void backlight_hw_off(void)
|
||||
{
|
||||
lcd_enable(false);
|
||||
ascodec_write_pmu(AS3543_BACKLIGHT, 1, 0x00);
|
||||
|
|
|
|||
|
|
@ -21,10 +21,10 @@
|
|||
#ifndef BACKLIGHT_TARGET_H
|
||||
#define BACKLIGHT_TARGET_H
|
||||
|
||||
#define _backlight_init() true
|
||||
#define backlight_hw_init() true
|
||||
|
||||
void _backlight_on(void);
|
||||
void _backlight_off(void);
|
||||
#define _backlight_panic_on() _backlight_on()
|
||||
void backlight_hw_on(void);
|
||||
void backlight_hw_off(void);
|
||||
#define _backlight_panic_on() backlight_hw_on()
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue