Closed PGNetHun closed 4 months ago
Fix xpt2046.py ESP32 specific touch driver:
xpt2046.py
__init__()
read()
lv.INDEV_STATE.PRESSED/RELEASED
Source of issue report: https://forum.lvgl.io/t/modulo-esp32-2432s08-ili9341-xpt2046-problem-touch/14685
Fix
xpt2046.py
ESP32 specific touch driver:__init__()
functionread()
function (which is called very often) use the cached reference oflv.INDEV_STATE.PRESSED/RELEASED
Source of issue report: https://forum.lvgl.io/t/modulo-esp32-2432s08-ili9341-xpt2046-problem-touch/14685