iRiver: Now sets the LCD RESET pin correctly

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5412 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2004-11-16 19:18:09 +00:00
parent 890558ee7c
commit 0b959cf8be

View file

@ -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 */