Browse Source

Fix TOUCH_SCREEN + TFT_LVGL_UI compile (#19754)

Victor Oliveira 4 years ago
parent
commit
8a885dc61b
No account linked to committer's email address
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      Marlin/src/inc/Conditionals_LCD.h

+ 3
- 1
Marlin/src/inc/Conditionals_LCD.h View File

@@ -926,5 +926,7 @@
926 926
 #if ENABLED(TOUCH_SCREEN) && !HAS_GRAPHICAL_TFT
927 927
   #undef TOUCH_SCREEN
928 928
   #undef TOUCH_SCREEN_CALIBRATION
929
-  #define HAS_TOUCH_XPT2046 1
929
+  #if !HAS_TFT_LVGL_UI
930
+    #define HAS_TOUCH_XPT2046 1
931
+  #endif
930 932
 #endif

Loading…
Cancel
Save