summaryrefslogtreecommitdiff
path: root/firmware/backlight.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-01-12 00:35:50 +0000
committerDave Chapman <dave@dchapman.com>2006-01-12 00:35:50 +0000
commitd83e929f3fc369a5981e1e40e1c5307169a46cfc (patch)
treeac323ca5811374a030a1b65bb77fc7ccc163db04 /firmware/backlight.c
parent8d130684214d23a9163810d1dacc33d108f2338a (diff)
downloadrockbox-d83e929f3fc369a5981e1e40e1c5307169a46cfc.tar.gz
rockbox-d83e929f3fc369a5981e1e40e1c5307169a46cfc.zip
Work-in-progress iriver iFP-7xx port by Tomasz Malesinski
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/backlight.c')
-rw-r--r--firmware/backlight.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c
index 740acd1d82..b475c61fc0 100644
--- a/firmware/backlight.c
+++ b/firmware/backlight.c
@@ -242,6 +242,8 @@ static void __backlight_on(void)
242 242
243 /* set port L07 on */ 243 /* set port L07 on */
244 outl(((0x100 | 1) << 7), 0x6000d12c); 244 outl(((0x100 | 1) << 7), 0x6000d12c);
245#elif CONFIG_BACKLIGHT==BL_IRIVER_IFP7XX
246 GPIO3_SET = 1;
245#endif 247#endif
246} 248}
247 249
@@ -279,6 +281,8 @@ static void __backlight_off(void)
279 281
280 /* set port L07 off */ 282 /* set port L07 off */
281 outl(((0x100 | 0) << 7), 0x6000d12c); 283 outl(((0x100 | 0) << 7), 0x6000d12c);
284#elif CONFIG_BACKLIGHT==BL_IRIVER_IFP7XX
285 GPIO3_CLR = 1;
282#endif 286#endif
283} 287}
284 288