Pārlūkot izejas kodu

Fix some endstop inverting settings

Scott Lahteine 6 gadus atpakaļ
vecāks
revīzija
c7305be4d2

+ 7
- 7
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h Parādīt failu

536
 #endif
536
 #endif
537
 
537
 
538
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
538
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
539
-const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
540
-const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
541
-const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
542
-const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
543
-const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
544
-const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
545
-const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
539
+#define X_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
540
+#define Y_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
541
+#define Z_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
542
+#define X_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
543
+#define Y_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
544
+#define Z_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
545
+#define Z_MIN_PROBE_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
546
 
546
 
547
 // Enable this feature if all enabled endstop pins are interrupt-capable.
547
 // Enable this feature if all enabled endstop pins are interrupt-capable.
548
 // This will remove the need to poll the interrupt pins, saving many CPU cycles.
548
 // This will remove the need to poll the interrupt pins, saving many CPU cycles.

+ 7
- 7
Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h Parādīt failu

536
 #endif
536
 #endif
537
 
537
 
538
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
538
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
539
-const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
540
-const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
541
-const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
542
-const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
543
-const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
544
-const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
545
-const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
539
+#define X_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
540
+#define Y_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
541
+#define Z_MIN_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
542
+#define X_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
543
+#define Y_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
544
+#define Z_MAX_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
545
+#define Z_MIN_PROBE_ENDSTOP_INVERTING true  // set to true to invert the logic of the endstop.
546
 
546
 
547
 // Enable this feature if all enabled endstop pins are interrupt-capable.
547
 // Enable this feature if all enabled endstop pins are interrupt-capable.
548
 // This will remove the need to poll the interrupt pins, saving many CPU cycles.
548
 // This will remove the need to poll the interrupt pins, saving many CPU cycles.

Notiek ielāde…
Atcelt
Saglabāt