Continued

This commit is contained in:
3djc
2020-04-26 10:50:06 +02:00
parent e68bd31f4e
commit d0854f3489
+1 -1
View File
@@ -352,7 +352,7 @@ bool touchPanelInit(void)
gt911ReadRegister(GT_CFGS_REG, tmp, 1);
TRACE("Chip config Ver:%x\r\n",tmp[0]);
if (tmp[0] < 0X69)//ver
if (tmp[0] < GT911_CFG_NUMER) //Config ver
{
TRACE("Sending new config %d", GT911_CFG_NUMER);
GT911_Send_Cfg(1);