Browse Source

Fix touch ifndefs (#19661)

Keith Bennett 3 years ago
parent
commit
7a484959d5
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 View File

@@ -306,13 +306,13 @@
306 306
       #ifndef XPT2046_X_CALIBRATION
307 307
         #define XPT2046_X_CALIBRATION    -11245
308 308
       #endif
309
-      #ifdef XPT2046_Y_CALIBRATION
309
+      #ifndef XPT2046_Y_CALIBRATION
310 310
         #define XPT2046_Y_CALIBRATION      8629
311 311
       #endif
312
-      #ifdef XPT2046_X_OFFSET
312
+      #ifndef XPT2046_X_OFFSET
313 313
         #define XPT2046_X_OFFSET            685
314 314
       #endif
315
-      #ifdef XPT2046_Y_OFFSET
315
+      #ifndef XPT2046_Y_OFFSET
316 316
         #define XPT2046_Y_OFFSET           -285
317 317
       #endif
318 318
     #endif

Loading…
Cancel
Save