Fix TOUCH_SCREEN + TFT_LVGL_UI compile (#19754)

This commit is contained in:
Victor Oliveira 2020-10-15 20:38:27 -03:00 committed by GitHub
parent f74b5a6b9b
commit 8a885dc61b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -926,5 +926,7 @@
#if ENABLED(TOUCH_SCREEN) && !HAS_GRAPHICAL_TFT
#undef TOUCH_SCREEN
#undef TOUCH_SCREEN_CALIBRATION
#define HAS_TOUCH_XPT2046 1
#if !HAS_TFT_LVGL_UI
#define HAS_TOUCH_XPT2046 1
#endif
#endif