Browse Source

Endstop invert flags as macros instead of const bool

Scott Lahteine 9 years ago
parent
commit
39706f3e57
23 changed files with 181 additions and 183 deletions
  1. 27
    29
      Marlin/Conditionals.h
  2. 7
    7
      Marlin/Configuration.h
  3. 7
    7
      Marlin/example_configurations/Cartesio/Configuration.h
  4. 7
    7
      Marlin/example_configurations/Felix/Configuration.h
  5. 7
    7
      Marlin/example_configurations/Felix/DUAL/Configuration.h
  6. 7
    7
      Marlin/example_configurations/Hephestos/Configuration.h
  7. 7
    7
      Marlin/example_configurations/Hephestos_2/Configuration.h
  8. 7
    7
      Marlin/example_configurations/K8200/Configuration.h
  9. 7
    7
      Marlin/example_configurations/K8400/Configuration.h
  10. 7
    7
      Marlin/example_configurations/K8400/Dual-head/Configuration.h
  11. 7
    7
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  12. 7
    7
      Marlin/example_configurations/RigidBot/Configuration.h
  13. 7
    7
      Marlin/example_configurations/SCARA/Configuration.h
  14. 7
    7
      Marlin/example_configurations/TAZ4/Configuration.h
  15. 7
    7
      Marlin/example_configurations/WITBOX/Configuration.h
  16. 7
    7
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  17. 7
    7
      Marlin/example_configurations/delta/biv2.5/Configuration.h
  18. 7
    7
      Marlin/example_configurations/delta/generic/Configuration.h
  19. 7
    7
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  20. 7
    7
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  21. 7
    7
      Marlin/example_configurations/delta/kossel_xl/Configuration.h
  22. 7
    7
      Marlin/example_configurations/makibox/Configuration.h
  23. 7
    7
      Marlin/example_configurations/tvrrug/Round2/Configuration.h

+ 27
- 29
Marlin/Conditionals.h View File

610
     #define _XMAX_ 101
610
     #define _XMAX_ 101
611
     #define _YMAX_ 201
611
     #define _YMAX_ 201
612
     #define _ZMAX_ 301
612
     #define _ZMAX_ 301
613
-    const bool Z2_MAX_ENDSTOP_INVERTING =
614
-      #if Z2_USE_ENDSTOP == _XMAX_
615
-        X_MAX_ENDSTOP_INVERTING
616
-        #define Z2_MAX_PIN X_MAX_PIN
617
-        #undef USE_XMAX_PLUG
618
-      #elif Z2_USE_ENDSTOP == _YMAX_
619
-        Y_MAX_ENDSTOP_INVERTING
620
-        #define Z2_MAX_PIN Y_MAX_PIN
621
-        #undef USE_YMAX_PLUG
622
-      #elif Z2_USE_ENDSTOP == _ZMAX_
623
-        Z_MAX_ENDSTOP_INVERTING
624
-        #define Z2_MAX_PIN Z_MAX_PIN
625
-        #undef USE_ZMAX_PLUG
626
-      #elif Z2_USE_ENDSTOP == _XMIN_
627
-        X_MIN_ENDSTOP_INVERTING
628
-        #define Z2_MAX_PIN X_MIN_PIN
629
-        #undef USE_XMIN_PLUG
630
-      #elif Z2_USE_ENDSTOP == _YMIN_
631
-        Y_MIN_ENDSTOP_INVERTING
632
-        #define Z2_MAX_PIN Y_MIN_PIN
633
-        #undef USE_YMIN_PLUG
634
-      #elif Z2_USE_ENDSTOP == _ZMIN_
635
-        Z_MIN_ENDSTOP_INVERTING
636
-        #define Z2_MAX_PIN Z_MIN_PIN
637
-        #undef USE_ZMIN_PLUG
638
-      #else
639
-        0
640
-      #endif
641
-    ;
613
+    #if Z2_USE_ENDSTOP == _XMAX_
614
+      #define Z2_MAX_ENDSTOP_INVERTING X_MAX_ENDSTOP_INVERTING
615
+      #define Z2_MAX_PIN X_MAX_PIN
616
+      #undef USE_XMAX_PLUG
617
+    #elif Z2_USE_ENDSTOP == _YMAX_
618
+      #define Z2_MAX_ENDSTOP_INVERTING Y_MAX_ENDSTOP_INVERTING
619
+      #define Z2_MAX_PIN Y_MAX_PIN
620
+      #undef USE_YMAX_PLUG
621
+    #elif Z2_USE_ENDSTOP == _ZMAX_
622
+      #define Z2_MAX_ENDSTOP_INVERTING Z_MAX_ENDSTOP_INVERTING
623
+      #define Z2_MAX_PIN Z_MAX_PIN
624
+      #undef USE_ZMAX_PLUG
625
+    #elif Z2_USE_ENDSTOP == _XMIN_
626
+      #define Z2_MAX_ENDSTOP_INVERTING X_MIN_ENDSTOP_INVERTING
627
+      #define Z2_MAX_PIN X_MIN_PIN
628
+      #undef USE_XMIN_PLUG
629
+    #elif Z2_USE_ENDSTOP == _YMIN_
630
+      #define Z2_MAX_ENDSTOP_INVERTING Y_MIN_ENDSTOP_INVERTING
631
+      #define Z2_MAX_PIN Y_MIN_PIN
632
+      #undef USE_YMIN_PLUG
633
+    #elif Z2_USE_ENDSTOP == _ZMIN_
634
+      #define Z2_MAX_ENDSTOP_INVERTING Z_MIN_ENDSTOP_INVERTING
635
+      #define Z2_MAX_PIN Z_MIN_PIN
636
+      #undef USE_ZMIN_PLUG
637
+    #else
638
+      #define Z2_MAX_ENDSTOP_INVERTING false
639
+    #endif
642
   #endif
640
   #endif
643
 
641
 
644
   /**
642
   /**

+ 7
- 7
Marlin/Configuration.h View File

437
 #endif
437
 #endif
438
 
438
 
439
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
439
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
440
-const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
441
-const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
442
-const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
443
-const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
444
-const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
445
-const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
446
-const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
440
+#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
441
+#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
442
+#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
443
+#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
444
+#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
445
+#define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
446
+#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
447
 
447
 
448
 //===========================================================================
448
 //===========================================================================
449
 //============================= Z Probe Options =============================
449
 //============================= Z Probe Options =============================

+ 7
- 7
Marlin/example_configurations/Cartesio/Configuration.h View File

437
 #endif
437
 #endif
438
 
438
 
439
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
439
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
440
-const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
441
-const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
442
-const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
443
-const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
444
-const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
445
-const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
446
-const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
440
+#define X_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
441
+#define Y_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
442
+#define Z_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
443
+#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
444
+#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
445
+#define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
446
+#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
447
 
447
 
448
 //===========================================================================
448
 //===========================================================================
449
 //============================= Z Probe Options =============================
449
 //============================= Z Probe Options =============================

+ 7
- 7
Marlin/example_configurations/Felix/Configuration.h View File

419
 #endif
419
 #endif
420
 
420
 
421
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
421
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
422
-const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
423
-const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
424
-const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
425
-const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
426
-const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
427
-const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
428
-const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
422
+#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
423
+#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
424
+#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
425
+#define X_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
426
+#define Y_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
427
+#define Z_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
428
+#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
429
 
429
 
430
 //===========================================================================
430
 //===========================================================================
431
 //============================= Z Probe Options =============================
431
 //============================= Z Probe Options =============================

+ 7
- 7
Marlin/example_configurations/Felix/DUAL/Configuration.h View File

417
 #endif
417
 #endif
418
 
418
 
419
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
419
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
420
-const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
421
-const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
422
-const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
423
-const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
424
-const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
425
-const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
426
-const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
420
+#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
421
+#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
422
+#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
423
+#define X_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
424
+#define Y_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
425
+#define Z_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
426
+#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
427
 
427
 
428
 //===========================================================================
428
 //===========================================================================
429
 //============================= Z Probe Options =============================
429
 //============================= Z Probe Options =============================

+ 7
- 7
Marlin/example_configurations/Hephestos/Configuration.h View File

429
 #endif
429
 #endif
430
 
430
 
431
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
431
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
432
-const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
433
-const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
434
-const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
435
-const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
436
-const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
437
-const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
438
-const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
432
+#define X_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
433
+#define Y_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
434
+#define Z_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
435
+#define X_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
436
+#define Y_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
437
+#define Z_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
438
+#define Z_MIN_PROBE_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
439
 
439
 
440
 //===========================================================================
440
 //===========================================================================
441
 //============================= Z Probe Options =============================
441
 //============================= Z Probe Options =============================

+ 7
- 7
Marlin/example_configurations/Hephestos_2/Configuration.h View File

431
 #endif
431
 #endif
432
 
432
 
433
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
433
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
434
-const bool X_MIN_ENDSTOP_INVERTING = true;  // set to true to invert the logic of the endstop.
435
-const bool Y_MIN_ENDSTOP_INVERTING = true;  // set to true to invert the logic of the endstop.
436
-const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
437
-const bool X_MAX_ENDSTOP_INVERTING = true;  // set to true to invert the logic of the endstop.
438
-const bool Y_MAX_ENDSTOP_INVERTING = true;  // set to true to invert the logic of the endstop.
439
-const bool Z_MAX_ENDSTOP_INVERTING = true;  // set to true to invert the logic of the endstop.
440
-const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
434
+#define X_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
435
+#define Y_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
436
+#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
437
+#define X_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
438
+#define Y_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
439
+#define Z_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
440
+#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
441
 
441
 
442
 //===========================================================================
442
 //===========================================================================
443
 //============================= Z Probe Options =============================
443
 //============================= Z Probe Options =============================

+ 7
- 7
Marlin/example_configurations/K8200/Configuration.h View File

454
 #endif
454
 #endif
455
 
455
 
456
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
456
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
457
-const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
458
-const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
459
-const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
460
-const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
461
-const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
462
-const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
463
-const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
457
+#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
458
+#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
459
+#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
460
+#define X_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
461
+#define Y_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
462
+#define Z_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
463
+#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
464
 
464
 
465
 //===========================================================================
465
 //===========================================================================
466
 //============================= Z Probe Options =============================
466
 //============================= Z Probe Options =============================

+ 7
- 7
Marlin/example_configurations/K8400/Configuration.h View File

414
 #endif
414
 #endif
415
 
415
 
416
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
416
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
417
-const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
418
-const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
419
-const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
420
-const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
421
-const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
422
-const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
423
-const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
417
+#define X_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
418
+#define Y_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
419
+#define Z_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
420
+#define X_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
421
+#define Y_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
422
+#define Z_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
423
+#define Z_MIN_PROBE_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
424
 
424
 
425
 //===========================================================================
425
 //===========================================================================
426
 //============================= Z Probe Options =============================
426
 //============================= Z Probe Options =============================

+ 7
- 7
Marlin/example_configurations/K8400/Dual-head/Configuration.h View File

414
 #endif
414
 #endif
415
 
415
 
416
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
416
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
417
-const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
418
-const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
419
-const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
420
-const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
421
-const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
422
-const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
423
-const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
417
+#define X_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
418
+#define Y_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
419
+#define Z_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
420
+#define X_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
421
+#define Y_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
422
+#define Z_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
423
+#define Z_MIN_PROBE_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
424
 
424
 
425
 //===========================================================================
425
 //===========================================================================
426
 //============================= Z Probe Options =============================
426
 //============================= Z Probe Options =============================

+ 7
- 7
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h View File

437
 #endif
437
 #endif
438
 
438
 
439
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
439
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
440
-const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
441
-const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
442
-const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
443
-const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
444
-const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
445
-const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
446
-const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
440
+#define X_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
441
+#define Y_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
442
+#define Z_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
443
+#define X_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
444
+#define Y_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
445
+#define Z_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
446
+#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
447
 
447
 
448
 //===========================================================================
448
 //===========================================================================
449
 //============================= Z Probe Options =============================
449
 //============================= Z Probe Options =============================

+ 7
- 7
Marlin/example_configurations/RigidBot/Configuration.h View File

434
 #endif
434
 #endif
435
 
435
 
436
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
436
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
437
-const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
438
-const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
439
-const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
440
-const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
441
-const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
442
-const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
443
-const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
437
+#define X_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
438
+#define Y_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
439
+#define Z_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
440
+#define X_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
441
+#define Y_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
442
+#define Z_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
443
+#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
444
 
444
 
445
 //===========================================================================
445
 //===========================================================================
446
 //============================= Z Probe Options =============================
446
 //============================= Z Probe Options =============================

+ 7
- 7
Marlin/example_configurations/SCARA/Configuration.h View File

445
 #endif
445
 #endif
446
 
446
 
447
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
447
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
448
-const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
449
-const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
450
-const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
451
-const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
452
-const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
453
-const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
454
-const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
448
+#define X_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
449
+#define Y_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
450
+#define Z_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
451
+#define X_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
452
+#define Y_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
453
+#define Z_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
454
+#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
455
 
455
 
456
 //===========================================================================
456
 //===========================================================================
457
 //============================= Z Probe Options =============================
457
 //============================= Z Probe Options =============================

+ 7
- 7
Marlin/example_configurations/TAZ4/Configuration.h View File

458
 #endif
458
 #endif
459
 
459
 
460
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
460
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
461
-const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
462
-const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
463
-const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
464
-const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
465
-const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
466
-const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
467
-const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
461
+#define X_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
462
+#define Y_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
463
+#define Z_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
464
+#define X_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
465
+#define Y_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
466
+#define Z_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
467
+#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
468
 
468
 
469
 //===========================================================================
469
 //===========================================================================
470
 //============================= Z Probe Options =============================
470
 //============================= Z Probe Options =============================

+ 7
- 7
Marlin/example_configurations/WITBOX/Configuration.h View File

429
 #endif
429
 #endif
430
 
430
 
431
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
431
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
432
-const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
433
-const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
434
-const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
435
-const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
436
-const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
437
-const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
438
-const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
432
+#define X_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
433
+#define Y_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
434
+#define Z_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
435
+#define X_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
436
+#define Y_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
437
+#define Z_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
438
+#define Z_MIN_PROBE_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
439
 
439
 
440
 //===========================================================================
440
 //===========================================================================
441
 //============================= Z Probe Options =============================
441
 //============================= Z Probe Options =============================

+ 7
- 7
Marlin/example_configurations/adafruit/ST7565/Configuration.h View File

437
 #endif
437
 #endif
438
 
438
 
439
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
439
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
440
-const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
441
-const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
442
-const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
443
-const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
444
-const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
445
-const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
446
-const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
440
+#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
441
+#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
442
+#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
443
+#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
444
+#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
445
+#define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
446
+#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
447
 
447
 
448
 //===========================================================================
448
 //===========================================================================
449
 //============================= Z Probe Options =============================
449
 //============================= Z Probe Options =============================

+ 7
- 7
Marlin/example_configurations/delta/biv2.5/Configuration.h View File

479
 #endif
479
 #endif
480
 
480
 
481
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
481
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
482
-const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
483
-const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
484
-const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
485
-const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
486
-const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
487
-const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
488
-const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
482
+#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
483
+#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
484
+#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
485
+#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
486
+#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
487
+#define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
488
+#define Z_MIN_PROBE_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
489
 
489
 
490
 //===========================================================================
490
 //===========================================================================
491
 //============================= Z Probe Options =============================
491
 //============================= Z Probe Options =============================

+ 7
- 7
Marlin/example_configurations/delta/generic/Configuration.h View File

479
 #endif
479
 #endif
480
 
480
 
481
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
481
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
482
-const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
483
-const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
484
-const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
485
-const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
486
-const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
487
-const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
488
-const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
482
+#define X_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
483
+#define Y_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
484
+#define Z_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
485
+#define X_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
486
+#define Y_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
487
+#define Z_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
488
+#define Z_MIN_PROBE_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
489
 
489
 
490
 //===========================================================================
490
 //===========================================================================
491
 //============================= Z Probe Options =============================
491
 //============================= Z Probe Options =============================

+ 7
- 7
Marlin/example_configurations/delta/kossel_mini/Configuration.h View File

479
 #endif
479
 #endif
480
 
480
 
481
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
481
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
482
-const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
483
-const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
484
-const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
485
-const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
486
-const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
487
-const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
488
-const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
482
+#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
483
+#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
484
+#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
485
+#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
486
+#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
487
+#define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
488
+#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
489
 
489
 
490
 //===========================================================================
490
 //===========================================================================
491
 //============================= Z Probe Options =============================
491
 //============================= Z Probe Options =============================

+ 7
- 7
Marlin/example_configurations/delta/kossel_pro/Configuration.h View File

468
 #endif
468
 #endif
469
 
469
 
470
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
470
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
471
-const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
472
-const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
473
-const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
474
-const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
475
-const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
476
-const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
477
-const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
471
+#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
472
+#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
473
+#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
474
+#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
475
+#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
476
+#define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
477
+#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
478
 
478
 
479
 //===========================================================================
479
 //===========================================================================
480
 //============================= Z Probe Options =============================
480
 //============================= Z Probe Options =============================

+ 7
- 7
Marlin/example_configurations/delta/kossel_xl/Configuration.h View File

477
 #endif
477
 #endif
478
 
478
 
479
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
479
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
480
-const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
481
-const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
482
-const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
483
-const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
484
-const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
485
-const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
486
-const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
480
+#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
481
+#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
482
+#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
483
+#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
484
+#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
485
+#define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
486
+#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
487
 
487
 
488
 //===========================================================================
488
 //===========================================================================
489
 //============================= Z Probe Options =============================
489
 //============================= Z Probe Options =============================

+ 7
- 7
Marlin/example_configurations/makibox/Configuration.h View File

440
 #endif
440
 #endif
441
 
441
 
442
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
442
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
443
-const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
444
-const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
445
-const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
446
-const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
447
-const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
448
-const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
449
-const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
443
+#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
444
+#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
445
+#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
446
+#define X_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
447
+#define Y_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
448
+#define Z_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
449
+#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
450
 
450
 
451
 //===========================================================================
451
 //===========================================================================
452
 //============================= Z Probe Options =============================
452
 //============================= Z Probe Options =============================

+ 7
- 7
Marlin/example_configurations/tvrrug/Round2/Configuration.h View File

427
 #endif
427
 #endif
428
 
428
 
429
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
429
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
430
-const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
431
-const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
432
-const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
433
-const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
434
-const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
435
-const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
436
-const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
430
+#define X_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
431
+#define Y_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
432
+#define Z_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
433
+#define X_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
434
+#define Y_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
435
+#define Z_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
436
+#define Z_MIN_PROBE_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
437
 
437
 
438
 //===========================================================================
438
 //===========================================================================
439
 //============================= Z Probe Options =============================
439
 //============================= Z Probe Options =============================

Loading…
Cancel
Save