Rename STEPPER_ENABLE_INVERT to STEPPER_INVERT_ENABLE.

No functional change, just match the naming of single stepper
enable pins.
This commit is contained in:
Markus Hitter 2011-07-24 20:52:03 +02:00
parent a33964fc51
commit 2eff194cdf
6 changed files with 6 additions and 6 deletions

View File

@ -215,7 +215,7 @@
#define PS_ON_PIN DIO14
//#define STEPPER_ENABLE_PIN xxxx
//#define STEPPER_ENABLE_INVERT
//#define STEPPER_INVERT_ENABLE

View File

@ -209,7 +209,7 @@
//#define PS_ON_PIN xxxx
//#define STEPPER_ENABLE_PIN xxxx
//#define STEPPER_ENABLE_INVERT
//#define STEPPER_INVERT_ENABLE

View File

@ -209,7 +209,7 @@
#define PS_ON_PIN DIO9
//#define STEPPER_ENABLE_PIN xxxx
//#define STEPPER_ENABLE_INVERT
//#define STEPPER_INVERT_ENABLE

View File

@ -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

View File

@ -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);

View File

@ -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