summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/olympus/mrobe-100/backlight-mr100.c
diff options
context:
space:
mode:
authorRobert Kukla <roolku@rockbox.org>2009-07-26 14:26:14 +0000
committerRobert Kukla <roolku@rockbox.org>2009-07-26 14:26:14 +0000
commit275a30092e84f9d026a18bcf90b2f29721302a33 (patch)
tree8c8c84673fbee68dd79d65a8269744c82669392a /firmware/target/arm/olympus/mrobe-100/backlight-mr100.c
parent682a991f0f5df93a4b32042d64d9a9ccb1d0dcdf (diff)
downloadrockbox-275a30092e84f9d026a18bcf90b2f29721302a33.tar.gz
rockbox-275a30092e84f9d026a18bcf90b2f29721302a33.zip
initial commit of remote support for m:robe 100 courtesy of lowlight; simulator support including small fixes for the m:robe 500
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22053 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/olympus/mrobe-100/backlight-mr100.c')
-rw-r--r--firmware/target/arm/olympus/mrobe-100/backlight-mr100.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/firmware/target/arm/olympus/mrobe-100/backlight-mr100.c b/firmware/target/arm/olympus/mrobe-100/backlight-mr100.c
index f3891c5000..7dd80946cd 100644
--- a/firmware/target/arm/olympus/mrobe-100/backlight-mr100.c
+++ b/firmware/target/arm/olympus/mrobe-100/backlight-mr100.c
@@ -22,6 +22,7 @@
#include "config.h"
#include "system.h"
#include "backlight-target.h"
+#include "lcd-remote-target.h"
#define MIN_BRIGHTNESS 0x80ff08ff
@@ -62,3 +63,15 @@ void _buttonlight_off(void)
/* turn off all touchpad leds */
GPIOA_OUTPUT_VAL &= ~BUTTONLIGHT_ALL;
}
+
+#ifdef HAVE_REMOTE_LCD
+void _remote_backlight_on(void)
+{
+ lcd_remote_backlight(true);
+}
+
+void _remote_backlight_off(void)
+{
+ lcd_remote_backlight(false);
+}
+#endif