diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2004-11-20 00:15:40 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2004-11-20 00:15:40 +0000 |
| commit | 09280d0422554c421b8dc0323ea2f3a59ba6b24c (patch) | |
| tree | c0ff3c9af219bac409515868e0fb355dbdefd969 | |
| parent | 2a89e7d1226f0a01025b5cbcb0470b6280d29257 (diff) | |
| download | rockbox-09280d0422554c421b8dc0323ea2f3a59ba6b24c.zip rockbox-09280d0422554c421b8dc0323ea2f3a59ba6b24c.tar.gz rockbox-09280d0422554c421b8dc0323ea2f3a59ba6b24c.tar.bz2 rockbox-09280d0422554c421b8dc0323ea2f3a59ba6b24c.tar.xz | |
Player: initialize backlight control pin (for coldstart)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5444 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/backlight.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c index 2b0c061..fea22a0 100644 --- a/firmware/backlight.c +++ b/firmware/backlight.c @@ -186,6 +186,11 @@ void backlight_init(void) queue_init(&backlight_queue); create_thread(backlight_thread, backlight_stack, sizeof(backlight_stack), backlight_thread_name); + +#ifdef HAVE_LCD_CHARCELLS + PACR1 &= ~0x3000; /* Set PA14 (backlight control) to GPIO */ + or_b(0x40, &PAIORH); /* ..and output */ +#endif #ifdef IRIVER_H100 GPIO1_ENABLE |= 0x00020000; |