Skip to content

Commit

Permalink
Rename STEPPER_ENABLE_INVERT to STEPPER_INVERT_ENABLE.
Browse files Browse the repository at this point in the history
No functional change, just match the naming of single stepper
enable pins.
  • Loading branch information
Traumflug committed Oct 5, 2011
1 parent a33964f commit 2eff194
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config.gen3.h
Expand Up @@ -215,7 +215,7 @@

#define PS_ON_PIN DIO14
//#define STEPPER_ENABLE_PIN xxxx
//#define STEPPER_ENABLE_INVERT
//#define STEPPER_INVERT_ENABLE



Expand Down
2 changes: 1 addition & 1 deletion config.gen6.h
Expand Up @@ -209,7 +209,7 @@

//#define PS_ON_PIN xxxx
//#define STEPPER_ENABLE_PIN xxxx
//#define STEPPER_ENABLE_INVERT
//#define STEPPER_INVERT_ENABLE



Expand Down
2 changes: 1 addition & 1 deletion config.h.dist
Expand Up @@ -209,7 +209,7 @@

#define PS_ON_PIN DIO9
//#define STEPPER_ENABLE_PIN xxxx
//#define STEPPER_ENABLE_INVERT
//#define STEPPER_INVERT_ENABLE



Expand Down
2 changes: 1 addition & 1 deletion config.ramps-v1.3.h
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion mendel.c
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion pinio.h
Expand Up @@ -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
Expand Down

0 comments on commit 2eff194

Please sign in to comment.