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

@ -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);

View file

@ -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