From 2eff194cdff3f87c6a4dbd36126b2a05dd3cfe66 Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Sun, 24 Jul 2011 20:52:03 +0200 Subject: [PATCH] Rename STEPPER_ENABLE_INVERT to STEPPER_INVERT_ENABLE. No functional change, just match the naming of single stepper enable pins. --- config.gen3.h | 2 +- config.gen6.h | 2 +- config.h.dist | 2 +- config.ramps-v1.3.h | 2 +- mendel.c | 2 +- pinio.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config.gen3.h b/config.gen3.h index 865c34e..25f6d68 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 2ae4ae0..80dc444 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 adf2e46..089757d 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 7ed4e46..38faeca 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 d0c3361..3dfcdb6 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 4ef5c7b..4baa461 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