Fix TFT_eSPI setTouch

This commit is contained in:
fvanroie 2022-11-15 15:24:22 +01:00
parent 0b02653a31
commit 9409987c01

View File

@ -40,7 +40,7 @@ class TouchTftEspi : public BaseTouch {
if(hasp_sleep_state != HASP_SLEEP_OFF) hasp_update_sleep_state(); // update Idle
data->state = LV_INDEV_STATE_PR;
hasp_set_sleep_offset(0); // Reset the offset
return;
return false;
}
#endif
data->state = LV_INDEV_STATE_REL;