summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire/iriver/h100/backlight-target.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/coldfire/iriver/h100/backlight-target.h')
-rw-r--r--firmware/target/coldfire/iriver/h100/backlight-target.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/coldfire/iriver/h100/backlight-target.h b/firmware/target/coldfire/iriver/h100/backlight-target.h
index 6697fb19c3..81ad2e0f6c 100644
--- a/firmware/target/coldfire/iriver/h100/backlight-target.h
+++ b/firmware/target/coldfire/iriver/h100/backlight-target.h
@@ -23,11 +23,16 @@ bool _backlight_init(void); /* Returns backlight current state (true=ON). */
void _backlight_hw_on(void);
void _backlight_hw_off(void);
+#ifdef BOOTLOADER
+#define _backlight_on() _backlight_hw_on()
+#define _backlight_off() _backlight_hw_off()
+#else
#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
void _remote_backlight_on(void);
void _remote_backlight_off(void);