Browse Source

Fix bug in new endstop pullups handling

Scott Lahteine 8 years ago
parent
commit
c0e7257932
1 changed files with 7 additions and 7 deletions
  1. 7
    7
      Marlin/Conditionals.h

+ 7
- 7
Marlin/Conditionals.h View File

@@ -278,25 +278,25 @@
278 278
    * Set ENDSTOPPULLUPS for unused endstop switches
279 279
    */
280 280
   #if ENABLED(ENDSTOPPULLUPS)
281
-    #if DISABLED(USE_XMAX_PLUG)
281
+    #if ENABLED(USE_XMAX_PLUG)
282 282
       #define ENDSTOPPULLUP_XMAX
283 283
     #endif
284
-    #if DISABLED(USE_YMAX_PLUG)
284
+    #if ENABLED(USE_YMAX_PLUG)
285 285
       #define ENDSTOPPULLUP_YMAX
286 286
     #endif
287
-    #if DISABLED(USE_ZMAX_PLUG)
287
+    #if ENABLED(USE_ZMAX_PLUG)
288 288
       #define ENDSTOPPULLUP_ZMAX
289 289
     #endif
290
-    #if DISABLED(USE_XMIN_PLUG)
290
+    #if ENABLED(USE_XMIN_PLUG)
291 291
       #define ENDSTOPPULLUP_XMIN
292 292
     #endif
293
-    #if DISABLED(USE_YMIN_PLUG)
293
+    #if ENABLED(USE_YMIN_PLUG)
294 294
       #define ENDSTOPPULLUP_YMIN
295 295
     #endif
296
-    #if DISABLED(USE_ZMIN_PLUG)
296
+    #if ENABLED(USE_ZMIN_PLUG)
297 297
       #define ENDSTOPPULLUP_ZMIN
298 298
     #endif
299
-    #if DISABLED(DISABLE_Z_MIN_PROBE_ENDSTOP)
299
+    #if ENABLED(DISABLE_Z_MIN_PROBE_ENDSTOP)
300 300
       #define ENDSTOPPULLUP_ZMIN_PROBE
301 301
     #endif
302 302
   #endif

Loading…
Cancel
Save