mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 05:36:37 +00:00
Add dummy touch_read to Generic Touch
This commit is contained in:
parent
2ed8af5a49
commit
425886bacd
@ -70,6 +70,11 @@ class BaseTouch {
|
||||
#warning Building for Generic Touch
|
||||
using dev::BaseTouch;
|
||||
extern dev::BaseTouch haspTouch;
|
||||
IRAM_ATTR bool touch_read(lv_indev_drv_t* indev_driver, lv_indev_data_t* data)
|
||||
{
|
||||
data->state = LV_INDEV_STATE_REL;
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user