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 /firmware | |
parent | 890558ee7ca62232008d4eeee605a060bf9f76e9 (diff) | |
download | rockbox-0b959cf8be43acc17b74df5054b7818913e89a9e.tar.gz rockbox-0b959cf8be43acc17b74df5054b7818913e89a9e.zip |
iRiver: Now sets the LCD RESET pin correctly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5412 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-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 df4ca42b10..7047578550 100644 --- a/firmware/drivers/lcd-h100.c +++ b/firmware/drivers/lcd-h100.c | |||
@@ -109,10 +109,10 @@ void lcd_init(void) | |||
109 | */ | 109 | */ |
110 | void lcd_init (void) | 110 | void lcd_init (void) |
111 | { | 111 | { |
112 | /* GPO35 is the LCD A0 pin */ | 112 | /* GPO35 is the LCD A0 pin, GPO46 is LCD RESET */ |
113 | GPIO1_FUNCTION |= 0x00000008; | 113 | GPIO1_OUT |= 0x00004008; |
114 | GPIO1_ENABLE |= 0x00000008; | 114 | GPIO1_FUNCTION |= 0x00004008; |
115 | GPIO1_OUT |= 0x00000008; | 115 | GPIO1_ENABLE |= 0x00004008; |
116 | 116 | ||
117 | lcd_write_command(LCD_CNTL_ON_OFF | 1); /* LCD ON */ | 117 | lcd_write_command(LCD_CNTL_ON_OFF | 1); /* LCD ON */ |
118 | lcd_write_command(LCD_CNTL_COLUMN_ADDRESS_DIR | 0); /* Normal */ | 118 | lcd_write_command(LCD_CNTL_COLUMN_ADDRESS_DIR | 0); /* Normal */ |