diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-11-16 19:18:09 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-11-16 19:18:09 +0000 |
| commit | 0b959cf8be43acc17b74df5054b7818913e89a9e (patch) | |
| tree | 2d5fe35126d580845bc5caedd61465d3aa000877 | |
| parent | 890558ee7ca62232008d4eeee605a060bf9f76e9 (diff) | |
| download | rockbox-0b959cf8be43acc17b74df5054b7818913e89a9e.zip rockbox-0b959cf8be43acc17b74df5054b7818913e89a9e.tar.gz rockbox-0b959cf8be43acc17b74df5054b7818913e89a9e.tar.bz2 rockbox-0b959cf8be43acc17b74df5054b7818913e89a9e.tar.xz | |
iRiver: Now sets the LCD RESET pin correctly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5412 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/drivers/lcd-h100.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/drivers/lcd-h100.c b/firmware/drivers/lcd-h100.c index df4ca42..7047578 100644 --- a/firmware/drivers/lcd-h100.c +++ b/firmware/drivers/lcd-h100.c @@ -109,10 +109,10 @@ void lcd_init(void) */ void lcd_init (void) { - /* GPO35 is the LCD A0 pin */ - GPIO1_FUNCTION |= 0x00000008; - GPIO1_ENABLE |= 0x00000008; - GPIO1_OUT |= 0x00000008; + /* GPO35 is the LCD A0 pin, GPO46 is LCD RESET */ + GPIO1_OUT |= 0x00004008; + GPIO1_FUNCTION |= 0x00004008; + GPIO1_ENABLE |= 0x00004008; lcd_write_command(LCD_CNTL_ON_OFF | 1); /* LCD ON */ lcd_write_command(LCD_CNTL_COLUMN_ADDRESS_DIR | 0); /* Normal */ |