summaryrefslogtreecommitdiffstats
path: root/firmware/target/sh/archos/recorder/backlight-target.h
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2015-01-09 00:22:40 +0100
committerGerrit Rockbox <gerrit@rockbox.org>2015-01-12 11:09:27 +0100
commit89ba7e818c0d96b779b02bc7b31c0c6a19294a46 (patch)
tree19f7326e1f27f4bd403c4437572b579add5b61bb /firmware/target/sh/archos/recorder/backlight-target.h
parent2a3e1628a50b9de7c1462ee95eb79937795f5409 (diff)
downloadrockbox-89ba7e818c0d96b779b02bc7b31c0c6a19294a46.tar.gz
rockbox-89ba7e818c0d96b779b02bc7b31c0c6a19294a46.zip
Get rid of stupid _backlight_* function names
_remote_backlight_* and _buttonlight_* are cleaned as well Change-Id: I73653752831bbe170c26ba95d3bc04c2e3a5cf30
Diffstat (limited to 'firmware/target/sh/archos/recorder/backlight-target.h')
-rw-r--r--firmware/target/sh/archos/recorder/backlight-target.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/sh/archos/recorder/backlight-target.h b/firmware/target/sh/archos/recorder/backlight-target.h
index 9eff09016a..c3dd395eca 100644
--- a/firmware/target/sh/archos/recorder/backlight-target.h
+++ b/firmware/target/sh/archos/recorder/backlight-target.h
@@ -24,15 +24,15 @@
#include "config.h"
#include "rtc.h"
-#define _backlight_init() true
+#define backlight_hw_init() true
-static inline void _backlight_on(void)
+static inline void backlight_hw_on(void)
{
rtc_write(0x13, 0x10); /* 32 kHz square wave */
rtc_write(0x0a, rtc_read(0x0a) | 0x40); /* Enable square wave */
}
-static inline void _backlight_off(void)
+static inline void backlight_hw_off(void)
{
/* While on, backlight is flashing at 32 kHz. If the square wave output
is disabled while the backlight is lit, it will become constantly lit,