test
This commit is contained in:
@@ -44,8 +44,13 @@ bool menuRadioDiagTouch(event_t event)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (touchEventFlag) {
|
if (touchEventFlag) {
|
||||||
touchPanelDeInit();
|
uint8_t tmp,mode = 0;
|
||||||
popMenu();
|
GT911_RD_Reg(GT911_READ_XY_REG,&mode,1); //read status
|
||||||
|
tmp=mode&0x0f;
|
||||||
|
if((mode&0x80) && (tmp>0)) {
|
||||||
|
touchPanelDeInit();
|
||||||
|
popMenu();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user