summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire/iaudio/m5
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/coldfire/iaudio/m5')
-rw-r--r--firmware/target/coldfire/iaudio/m5/backlight-m5.c12
-rw-r--r--firmware/target/coldfire/iaudio/m5/backlight-target.h10
2 files changed, 11 insertions, 11 deletions
diff --git a/firmware/target/coldfire/iaudio/m5/backlight-m5.c b/firmware/target/coldfire/iaudio/m5/backlight-m5.c
index daa613810e..2738a327c9 100644
--- a/firmware/target/coldfire/iaudio/m5/backlight-m5.c
+++ b/firmware/target/coldfire/iaudio/m5/backlight-m5.c
@@ -26,14 +26,14 @@
#include "pcf50606.h"
#include "lcd.h"
-bool _backlight_init(void)
+bool backlight_hw_init(void)
{
- _backlight_on();
+ backlight_hw_on();
return true; /* Backlight always ON after boot. */
}
-void _backlight_on(void)
+void backlight_hw_on(void)
{
int level = disable_irq_save();
@@ -41,7 +41,7 @@ void _backlight_on(void)
restore_irq(level);
}
-void _backlight_off(void)
+void backlight_hw_off(void)
{
int level = disable_irq_save();
@@ -49,12 +49,12 @@ void _backlight_off(void)
restore_irq(level);
}
-void _remote_backlight_on(void)
+void remote_backlight_hw_on(void)
{
and_l(~0x00200000, &GPIO_OUT);
}
-void _remote_backlight_off(void)
+void remote_backlight_hw_off(void)
{
or_l(0x00200000, &GPIO_OUT);
}
diff --git a/firmware/target/coldfire/iaudio/m5/backlight-target.h b/firmware/target/coldfire/iaudio/m5/backlight-target.h
index 43e8a2cbe2..38acdd0e5f 100644
--- a/firmware/target/coldfire/iaudio/m5/backlight-target.h
+++ b/firmware/target/coldfire/iaudio/m5/backlight-target.h
@@ -21,10 +21,10 @@
#ifndef BACKLIGHT_TARGET_H
#define BACKLIGHT_TARGET_H
-bool _backlight_init(void);
-void _backlight_on(void);
-void _backlight_off(void);
-void _remote_backlight_on(void);
-void _remote_backlight_off(void);
+bool backlight_hw_init(void);
+void backlight_hw_on(void);
+void backlight_hw_off(void);
+void remote_backlight_hw_on(void);
+void remote_backlight_hw_off(void);
#endif