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 PS_ON_PIN DIO14
|
||||||
//#define STEPPER_ENABLE_PIN xxxx
|
//#define STEPPER_ENABLE_PIN xxxx
|
||||||
//#define STEPPER_ENABLE_INVERT
|
//#define STEPPER_INVERT_ENABLE
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -209,7 +209,7 @@
|
||||||
|
|
||||||
//#define PS_ON_PIN xxxx
|
//#define PS_ON_PIN xxxx
|
||||||
//#define STEPPER_ENABLE_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 PS_ON_PIN DIO9
|
||||||
//#define STEPPER_ENABLE_PIN xxxx
|
//#define STEPPER_ENABLE_PIN xxxx
|
||||||
//#define STEPPER_ENABLE_INVERT
|
//#define STEPPER_INVERT_ENABLE
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -217,7 +217,7 @@
|
||||||
|
|
||||||
//#define PS_ON_PIN xxxx
|
//#define PS_ON_PIN xxxx
|
||||||
//#define STEPPER_ENABLE_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
|
// TODO: 20110813 SJL - the following two are not yet used&verified for RAMPS1.3
|
||||||
//#define SD_CARD_DETECT DIO2
|
//#define SD_CARD_DETECT DIO2
|
||||||
|
|
|
||||||
2
mendel.c
2
mendel.c
|
|
@ -136,7 +136,7 @@ void io_init(void) {
|
||||||
|
|
||||||
// Common Stepper Enable
|
// Common Stepper Enable
|
||||||
#ifdef STEPPER_ENABLE_PIN
|
#ifdef STEPPER_ENABLE_PIN
|
||||||
#ifdef STEPPER_ENABLE_INVERT
|
#ifdef STEPPER_INVERT_ENABLE
|
||||||
WRITE(STEPPER_ENABLE_PIN, 0);
|
WRITE(STEPPER_ENABLE_PIN, 0);
|
||||||
#else
|
#else
|
||||||
WRITE(STEPPER_ENABLE_PIN, 1);
|
WRITE(STEPPER_ENABLE_PIN, 1);
|
||||||
|
|
|
||||||
2
pinio.h
2
pinio.h
|
|
@ -140,7 +140,7 @@ Stepper Enable Pins
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef STEPPER_ENABLE_PIN
|
#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_enable() do { WRITE(STEPPER_ENABLE_PIN, 0); } while (0)
|
||||||
#define stepper_disable() do { WRITE(STEPPER_ENABLE_PIN, 1); } while (0)
|
#define stepper_disable() do { WRITE(STEPPER_ENABLE_PIN, 1); } while (0)
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue