diff options
Diffstat (limited to 'firmware/target/coldfire/iriver')
-rw-r--r-- | firmware/target/coldfire/iriver/h100/backlight-h100.c | 4 | ||||
-rw-r--r-- | firmware/target/coldfire/iriver/h100/backlight-target.h | 8 |
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) | |||
35 | return (GPIO1_OUT & 0x00020000) ? false : true; | 35 | return (GPIO1_OUT & 0x00020000) ? false : true; |
36 | } | 36 | } |
37 | 37 | ||
38 | void _backlight_hw_on(void) | 38 | void backlight_hw_on(void) |
39 | { | 39 | { |
40 | and_l(~0x00020000, &GPIO1_OUT); | 40 | and_l(~0x00020000, &GPIO1_OUT); |
41 | } | 41 | } |
42 | 42 | ||
43 | void _backlight_hw_off(void) | 43 | void backlight_hw_off(void) |
44 | { | 44 | { |
45 | or_l(0x00020000, &GPIO1_OUT); | 45 | or_l(0x00020000, &GPIO1_OUT); |
46 | } | 46 | } |
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); | |||
26 | void backlight_hw_off(void); | 26 | void backlight_hw_off(void); |
27 | 27 | ||
28 | #ifndef BOOTLOADER | 28 | #ifndef BOOTLOADER |
29 | #define backlight_hw_on_isr() backlight_hw_on() | 29 | #define _backlight_on_isr() backlight_hw_on() |
30 | #define backlight_hw_off_isr() backlight_hw_off() | 30 | #define _backlight_off_isr() backlight_hw_off() |
31 | #define backlight_hw_on_normal() backlight_hw_on() | 31 | #define _backlight_on_normal() backlight_hw_on() |
32 | #define backlight_hw_off_normal() backlight_hw_off() | 32 | #define _backlight_off_normal() backlight_hw_off() |
33 | #define _BACKLIGHT_FADE_BOOST | 33 | #define _BACKLIGHT_FADE_BOOST |
34 | #endif | 34 | #endif |
35 | 35 | ||