summaryrefslogtreecommitdiffstats
path: root/firmware/target/coldfire/iriver
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2015-01-12 12:02:24 +0100
committerMarcin Bukat <marcin.bukat@gmail.com>2015-01-12 12:02:24 +0100
commit9ffd9327e339ee9028654000497525b62e826652 (patch)
tree2ec951353c3d5b7c927b97a448a55e8d7e9ae521 /firmware/target/coldfire/iriver
parentbbd7d1dba39ab1a89b4cc0c18352e35349e66faa (diff)
downloadrockbox-9ffd9327e339ee9028654000497525b62e826652.tar.gz
rockbox-9ffd9327e339ee9028654000497525b62e826652.tar.bz2
rockbox-9ffd9327e339ee9028654000497525b62e826652.zip
Fix red/yellow
Change-Id: Ie01251af2cd843979b5fdefcfa541ba377d13bd7
Diffstat (limited to 'firmware/target/coldfire/iriver')
-rw-r--r--firmware/target/coldfire/iriver/h100/backlight-h100.c4
-rw-r--r--firmware/target/coldfire/iriver/h100/backlight-target.h8
2 files changed, 6 insertions, 6 deletions
diff --git a/firmware/target/coldfire/iriver/h100/backlight-h100.c b/firmware/target/coldfire/iriver/h100/backlight-h100.c
index 1f582ec8df..80e340c0d5 100644
--- a/firmware/target/coldfire/iriver/h100/backlight-h100.c
+++ b/firmware/target/coldfire/iriver/h100/backlight-h100.c
@@ -35,12 +35,12 @@ bool backlight_hw_init(void)
return (GPIO1_OUT & 0x00020000) ? false : true;
}
-void _backlight_hw_on(void)
+void backlight_hw_on(void)
{
and_l(~0x00020000, &GPIO1_OUT);
}
-void _backlight_hw_off(void)
+void backlight_hw_off(void)
{
or_l(0x00020000, &GPIO1_OUT);
}
diff --git a/firmware/target/coldfire/iriver/h100/backlight-target.h b/firmware/target/coldfire/iriver/h100/backlight-target.h
index 64d0353ab0..b6cc4a2000 100644
--- a/firmware/target/coldfire/iriver/h100/backlight-target.h
+++ b/firmware/target/coldfire/iriver/h100/backlight-target.h
@@ -26,10 +26,10 @@ void backlight_hw_on(void);
void backlight_hw_off(void);
#ifndef BOOTLOADER
-#define backlight_hw_on_isr() backlight_hw_on()
-#define backlight_hw_off_isr() backlight_hw_off()
-#define backlight_hw_on_normal() backlight_hw_on()
-#define backlight_hw_off_normal() backlight_hw_off()
+#define _backlight_on_isr() backlight_hw_on()
+#define _backlight_off_isr() backlight_hw_off()
+#define _backlight_on_normal() backlight_hw_on()
+#define _backlight_off_normal() backlight_hw_off()
#define _BACKLIGHT_FADE_BOOST
#endif