LVGL fix calibration not applied when not touched

This commit is contained in:
Stephan Hadinger 2022-01-17 19:37:38 +01:00
parent 70c6e730f0
commit 7d9226b3b5
1 changed files with 1 additions and 0 deletions

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