This commit is contained in:
3djc
2020-04-25 10:36:09 +02:00
parent e6b3326412
commit fd8fbc4f31
+7 -2
View File
@@ -44,8 +44,13 @@ bool menuRadioDiagTouch(event_t event)
}
if (touchEventFlag) {
touchPanelDeInit();
popMenu();
uint8_t tmp,mode = 0;
GT911_RD_Reg(GT911_READ_XY_REG,&mode,1); //read status
tmp=mode&0x0f;
if((mode&0x80) && (tmp>0)) {
touchPanelDeInit();
popMenu();
}
}
return true;
}