Merge pull request #14490 from s-hadinger/LVGL-ts_fix

LVGL fix calibration not applied when not touched
This commit is contained in:
s-hadinger 2022-01-17 19:45:40 +01:00 committed by GitHub
commit f570941323
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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