Ver Fonte

_MIN_ENDSTOP_INVERTING redefinition in variant files (constant -> define)

Robert Pelnar há 6 anos atrás
pai
commit
8573b65b05

+ 3 - 3
Firmware/variants/1_75mm_MK2-RAMBo10a-E3Dv6full.h

@@ -42,9 +42,9 @@ AXIS SETTINGS
 
 
 // Endstop inverting
-const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
-const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
-const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
+#define X_MIN_ENDSTOP_INVERTING 0 // set to true to invert the logic of the endstop.
+#define Y_MIN_ENDSTOP_INVERTING 0 // set to true to invert the logic of the endstop.
+#define Z_MIN_ENDSTOP_INVERTING 0 // set to true to invert the logic of the endstop.
 
 // Direction inverting
 #define INVERT_X_DIR false    // for Mendel set to false, for Orca set to true

+ 3 - 3
Firmware/variants/1_75mm_MK2-RAMBo13a-E3Dv6full.h

@@ -42,9 +42,9 @@ AXIS SETTINGS
 
 
 // Endstop inverting
-const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
-const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
-const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
+#define X_MIN_ENDSTOP_INVERTING 0 // set to true to invert the logic of the endstop.
+#define Y_MIN_ENDSTOP_INVERTING 0 // set to true to invert the logic of the endstop.
+#define Z_MIN_ENDSTOP_INVERTING 0 // set to true to invert the logic of the endstop.
 
 // Direction inverting
 #define INVERT_X_DIR false    // for Mendel set to false, for Orca set to true

+ 3 - 3
Firmware/variants/1_75mm_MK25-RAMBo10a-E3Dv6full.h

@@ -38,9 +38,9 @@
 #define DEFAULT_AXIS_STEPS_PER_UNIT   {100,100,3200/8,133}
 
 // Endstop inverting
-const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
-const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
-const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
+#define X_MIN_ENDSTOP_INVERTING 0 // set to true to invert the logic of the endstop.
+#define Y_MIN_ENDSTOP_INVERTING 0 // set to true to invert the logic of the endstop.
+#define Z_MIN_ENDSTOP_INVERTING 0 // set to true to invert the logic of the endstop.
 
 // Direction inverting
 #define INVERT_X_DIR false    // for Mendel set to false, for Orca set to true

+ 3 - 3
Firmware/variants/1_75mm_MK25-RAMBo13a-E3Dv6full.h

@@ -38,9 +38,9 @@
 #define DEFAULT_AXIS_STEPS_PER_UNIT   {100,100,3200/8,133}
 
 // Endstop inverting
-const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
-const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
-const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
+#define X_MIN_ENDSTOP_INVERTING 0 // set to true to invert the logic of the endstop.
+#define Y_MIN_ENDSTOP_INVERTING 0 // set to true to invert the logic of the endstop.
+#define Z_MIN_ENDSTOP_INVERTING 0 // set to true to invert the logic of the endstop.
 
 // Direction inverting
 #define INVERT_X_DIR false    // for Mendel set to false, for Orca set to true

+ 3 - 3
Firmware/variants/1_75mm_MK3-EINSy10a-E3Dv6full.h

@@ -39,9 +39,9 @@
 //#define DEFAULT_AXIS_STEPS_PER_UNIT   {100,100,3200/8,560}
 
 // Endstop inverting
-const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
-const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
-const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
+#define X_MIN_ENDSTOP_INVERTING 0 // set to true to invert the logic of the endstop.
+#define Y_MIN_ENDSTOP_INVERTING 0 // set to true to invert the logic of the endstop.
+#define Z_MIN_ENDSTOP_INVERTING 0 // set to true to invert the logic of the endstop.
 
 // Direction inverting
 #define INVERT_X_DIR true    // for Mendel set to false, for Orca set to true