diff --git a/config.gen3.h b/config.gen3.h index 865c34ed5..25f6d68f4 100644 --- a/config.gen3.h +++ b/config.gen3.h @@ -215,7 +215,7 @@ #define PS_ON_PIN DIO14 //#define STEPPER_ENABLE_PIN xxxx -//#define STEPPER_ENABLE_INVERT +//#define STEPPER_INVERT_ENABLE diff --git a/config.gen6.h b/config.gen6.h index 2ae4ae007..80dc4441e 100644 --- a/config.gen6.h +++ b/config.gen6.h @@ -209,7 +209,7 @@ //#define PS_ON_PIN xxxx //#define STEPPER_ENABLE_PIN xxxx -//#define STEPPER_ENABLE_INVERT +//#define STEPPER_INVERT_ENABLE diff --git a/config.h.dist b/config.h.dist index adf2e4635..089757d8a 100644 --- a/config.h.dist +++ b/config.h.dist @@ -209,7 +209,7 @@ #define PS_ON_PIN DIO9 //#define STEPPER_ENABLE_PIN xxxx -//#define STEPPER_ENABLE_INVERT +//#define STEPPER_INVERT_ENABLE diff --git a/config.ramps-v1.3.h b/config.ramps-v1.3.h index 7ed4e4625..38faeca36 100644 --- a/config.ramps-v1.3.h +++ b/config.ramps-v1.3.h @@ -217,7 +217,7 @@ //#define PS_ON_PIN xxxx //#define STEPPER_ENABLE_PIN xxxx -//#define STEPPER_ENABLE_INVERT +//#define STEPPER_INVERT_ENABLE // TODO: 20110813 SJL - the following two are not yet used&verified for RAMPS1.3 //#define SD_CARD_DETECT DIO2 diff --git a/mendel.c b/mendel.c index d0c336106..3dfcdb66a 100644 --- a/mendel.c +++ b/mendel.c @@ -136,7 +136,7 @@ void io_init(void) { // Common Stepper Enable #ifdef STEPPER_ENABLE_PIN - #ifdef STEPPER_ENABLE_INVERT + #ifdef STEPPER_INVERT_ENABLE WRITE(STEPPER_ENABLE_PIN, 0); #else WRITE(STEPPER_ENABLE_PIN, 1); diff --git a/pinio.h b/pinio.h index 4ef5c7bd0..4baa461ec 100644 --- a/pinio.h +++ b/pinio.h @@ -140,7 +140,7 @@ Stepper Enable Pins */ #ifdef STEPPER_ENABLE_PIN - #ifdef STEPPER_ENABLE_INVERT + #ifdef STEPPER_INVERT_ENABLE #define stepper_enable() do { WRITE(STEPPER_ENABLE_PIN, 0); } while (0) #define stepper_disable() do { WRITE(STEPPER_ENABLE_PIN, 1); } while (0) #else