From 8573b65b059d16cf8d3a0f5438b3918f000197fb Mon Sep 17 00:00:00 2001 From: Robert Pelnar Date: Mon, 21 May 2018 23:28:28 +0200 Subject: [PATCH] _MIN_ENDSTOP_INVERTING redefinition in variant files (constant -> define) --- Firmware/variants/1_75mm_MK2-RAMBo10a-E3Dv6full.h | 6 +++--- Firmware/variants/1_75mm_MK2-RAMBo13a-E3Dv6full.h | 6 +++--- Firmware/variants/1_75mm_MK25-RAMBo10a-E3Dv6full.h | 6 +++--- Firmware/variants/1_75mm_MK25-RAMBo13a-E3Dv6full.h | 6 +++--- Firmware/variants/1_75mm_MK3-EINSy10a-E3Dv6full.h | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Firmware/variants/1_75mm_MK2-RAMBo10a-E3Dv6full.h b/Firmware/variants/1_75mm_MK2-RAMBo10a-E3Dv6full.h index c95bf966..2473fde9 100644 --- a/Firmware/variants/1_75mm_MK2-RAMBo10a-E3Dv6full.h +++ b/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 diff --git a/Firmware/variants/1_75mm_MK2-RAMBo13a-E3Dv6full.h b/Firmware/variants/1_75mm_MK2-RAMBo13a-E3Dv6full.h index 538f62b0..fd9d156e 100644 --- a/Firmware/variants/1_75mm_MK2-RAMBo13a-E3Dv6full.h +++ b/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 diff --git a/Firmware/variants/1_75mm_MK25-RAMBo10a-E3Dv6full.h b/Firmware/variants/1_75mm_MK25-RAMBo10a-E3Dv6full.h index f1965358..aa1ee44f 100644 --- a/Firmware/variants/1_75mm_MK25-RAMBo10a-E3Dv6full.h +++ b/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 diff --git a/Firmware/variants/1_75mm_MK25-RAMBo13a-E3Dv6full.h b/Firmware/variants/1_75mm_MK25-RAMBo13a-E3Dv6full.h index 558cc889..fac638ba 100644 --- a/Firmware/variants/1_75mm_MK25-RAMBo13a-E3Dv6full.h +++ b/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 diff --git a/Firmware/variants/1_75mm_MK3-EINSy10a-E3Dv6full.h b/Firmware/variants/1_75mm_MK3-EINSy10a-E3Dv6full.h index 48b9a565..b82ae92f 100644 --- a/Firmware/variants/1_75mm_MK3-EINSy10a-E3Dv6full.h +++ b/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