mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-25 20:26:41 +00:00
Touch bug
This commit is contained in:
parent
56a124755f
commit
08013d04f4
@ -204,7 +204,7 @@ IRAM_ATTR bool drv_touch_read(lv_indev_drv_t* indev_driver, lv_indev_data_t* dat
|
|||||||
if(touch_invert_y) {
|
if(touch_invert_y) {
|
||||||
data->point.y = indev_driver->disp->driver.ver_res - touchY;
|
data->point.y = indev_driver->disp->driver.ver_res - touchY;
|
||||||
} else {
|
} else {
|
||||||
data->point.x = touchY;
|
data->point.y = touchY;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user