1
0
Fork 0
forked from len0rd/rockbox

See 0x429c in OF (lcd_init), B6 is lcd reset line.

Hopefully setting this properly to output will cure the random lcd resets.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25933 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Tobias Diedrich 2010-05-10 16:11:01 +00:00
parent d795d83181
commit badf2c31f7

View file

@ -189,6 +189,13 @@ void lcd_init_device(void)
c200v1_lcd_init();
#elif defined(SANSA_C200V2)
as3525_dbop_init();
/* reset lcd */
GPIOB_DIR |= (1<<6);
GPIOB_PIN(6) = 0; /* pull reset low */
lcd_delay(20);
GPIOB_PIN(6) = 1<<6; /* release reset */
lcd_delay(20);
#endif
lcd_send_command(R_STANDBY_OFF, 0);