summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--firmware/target/arm/rk27xx/lcd-hifiman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/rk27xx/lcd-hifiman.c b/firmware/target/arm/rk27xx/lcd-hifiman.c
index b97766c840..aaf181690e 100644
--- a/firmware/target/arm/rk27xx/lcd-hifiman.c
+++ b/firmware/target/arm/rk27xx/lcd-hifiman.c
@@ -170,7 +170,7 @@ enum lcd_type_t
static void identify_lcd(void)
{
SCU_IOMUXB_CON &= ~(1<<2);
- GPIO_PCCON |= (1<<4);
+
if (GPIO_PCDR & (1<<4))
{
lcd_type = LCD_V1;