mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-27 05:06:44 +00:00
Fix TFT_eSPI setTouch
This commit is contained in:
parent
0b02653a31
commit
9409987c01
@ -40,7 +40,7 @@ class TouchTftEspi : public BaseTouch {
|
|||||||
if(hasp_sleep_state != HASP_SLEEP_OFF) hasp_update_sleep_state(); // update Idle
|
if(hasp_sleep_state != HASP_SLEEP_OFF) hasp_update_sleep_state(); // update Idle
|
||||||
data->state = LV_INDEV_STATE_PR;
|
data->state = LV_INDEV_STATE_PR;
|
||||||
hasp_set_sleep_offset(0); // Reset the offset
|
hasp_set_sleep_offset(0); // Reset the offset
|
||||||
return;
|
return false;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
data->state = LV_INDEV_STATE_REL;
|
data->state = LV_INDEV_STATE_REL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user