mirror of https://github.com/arendst/Tasmota.git
LVGL fix calibration not applied when not touched
This commit is contained in:
parent
70c6e730f0
commit
7d9226b3b5
|
@ -190,6 +190,7 @@ void Touch_Check(void(*rotconvert)(int16_t *x, int16_t *y)) {
|
||||||
}
|
}
|
||||||
#endif // USE_M5STACK_CORE2
|
#endif // USE_M5STACK_CORE2
|
||||||
|
|
||||||
|
rotconvert(&touch_xp, &touch_yp); // still do rot convert if not touched
|
||||||
#ifdef USE_TOUCH_BUTTONS
|
#ifdef USE_TOUCH_BUTTONS
|
||||||
CheckTouchButtons(touched, touch_xp, touch_yp);
|
CheckTouchButtons(touched, touch_xp, touch_yp);
|
||||||
#endif // USE_TOUCH_BUTTONS
|
#endif // USE_TOUCH_BUTTONS
|
||||||
|
|
Loading…
Reference in New Issue