Fix #2018
This commit is contained in:
parent
de688f5ae7
commit
2b576dc614
|
|
@ -107,6 +107,8 @@ uint16_t TFT_eSPI::getTouchRawZ(void){
|
|||
|
||||
end_touch_read_write();
|
||||
|
||||
if (tz == 4095) tz = 0;
|
||||
|
||||
return (uint16_t)tz;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue