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:
parent
a33964fc51
commit
2eff194cdf
|
|
@ -215,7 +215,7 @@
|
|||
|
||||
#define PS_ON_PIN DIO14
|
||||
//#define STEPPER_ENABLE_PIN xxxx
|
||||
//#define STEPPER_ENABLE_INVERT
|
||||
//#define STEPPER_INVERT_ENABLE
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@
|
|||
|
||||
//#define PS_ON_PIN xxxx
|
||||
//#define STEPPER_ENABLE_PIN xxxx
|
||||
//#define STEPPER_ENABLE_INVERT
|
||||
//#define STEPPER_INVERT_ENABLE
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@
|
|||
|
||||
#define PS_ON_PIN DIO9
|
||||
//#define STEPPER_ENABLE_PIN xxxx
|
||||
//#define STEPPER_ENABLE_INVERT
|
||||
//#define STEPPER_INVERT_ENABLE
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
2
mendel.c
2
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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue