From 7d9226b3b52c97232c5a7ea5f6ba06fce69d568e Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Mon, 17 Jan 2022 19:37:38 +0100 Subject: [PATCH] LVGL fix calibration not applied when not touched --- tasmota/xdrv_55_touch.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/tasmota/xdrv_55_touch.ino b/tasmota/xdrv_55_touch.ino index ed0b3c6f7..02d415e4a 100644 --- a/tasmota/xdrv_55_touch.ino +++ b/tasmota/xdrv_55_touch.ino @@ -190,6 +190,7 @@ void Touch_Check(void(*rotconvert)(int16_t *x, int16_t *y)) { } #endif // USE_M5STACK_CORE2 + rotconvert(&touch_xp, &touch_yp); // still do rot convert if not touched #ifdef USE_TOUCH_BUTTONS CheckTouchButtons(touched, touch_xp, touch_yp); #endif // USE_TOUCH_BUTTONS