Browse Source

Fix touch ifndefs (#19661)

Keith Bennett 4 years ago
parent
commit
e6d0a8ef66
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h

+ 3 - 3
Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h

@@ -306,13 +306,13 @@
       #ifndef XPT2046_X_CALIBRATION
         #define XPT2046_X_CALIBRATION    -11245
       #endif
-      #ifdef XPT2046_Y_CALIBRATION
+      #ifndef XPT2046_Y_CALIBRATION
         #define XPT2046_Y_CALIBRATION      8629
       #endif
-      #ifdef XPT2046_X_OFFSET
+      #ifndef XPT2046_X_OFFSET
         #define XPT2046_X_OFFSET            685
       #endif
-      #ifdef XPT2046_Y_OFFSET
+      #ifndef XPT2046_Y_OFFSET
         #define XPT2046_Y_OFFSET           -285
       #endif
     #endif