diff options
author | Dave Chapman <dave@dchapman.com> | 2006-01-12 00:35:50 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2006-01-12 00:35:50 +0000 |
commit | d83e929f3fc369a5981e1e40e1c5307169a46cfc (patch) | |
tree | ac323ca5811374a030a1b65bb77fc7ccc163db04 /firmware/backlight.c | |
parent | 8d130684214d23a9163810d1dacc33d108f2338a (diff) |
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.c | 4 |
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) /* set port L07 on */ outl(((0x100 | 1) << 7), 0x6000d12c); +#elif CONFIG_BACKLIGHT==BL_IRIVER_IFP7XX + GPIO3_SET = 1; #endif } @@ -279,6 +281,8 @@ static void __backlight_off(void) /* set port L07 off */ outl(((0x100 | 0) << 7), 0x6000d12c); +#elif CONFIG_BACKLIGHT==BL_IRIVER_IFP7XX + GPIO3_CLR = 1; #endif } |