forked from len0rd/rockbox
hm60x: Fix gpio pin direction.
Change-Id: I22324a3bd080a23d3606e6bc8e55881d072bf615
This commit is contained in:
parent
e2d72d64fd
commit
50370cd70d
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ enum lcd_type_t
|
||||||
static void identify_lcd(void)
|
static void identify_lcd(void)
|
||||||
{
|
{
|
||||||
SCU_IOMUXB_CON &= ~(1<<2);
|
SCU_IOMUXB_CON &= ~(1<<2);
|
||||||
GPIO_PCCON |= (1<<4);
|
|
||||||
if (GPIO_PCDR & (1<<4))
|
if (GPIO_PCDR & (1<<4))
|
||||||
{
|
{
|
||||||
lcd_type = LCD_V1;
|
lcd_type = LCD_V1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue