Skip to content

Commit

Permalink
match pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed May 5, 2021
1 parent cafc038 commit 823323c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Marlin/src/pins/sensitive_pins.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@
#else
#define _X_MS3
#endif
#if AXIS_HAS_UART(X) && defined SOFTWARE_DRIVER_ENABLE
#define _X_ENABLE_PIN
#else
#if PIN_EXISTS(X_ENABLE)
#define _X_ENABLE_PIN X_ENABLE_PIN,
#else
#define _X_ENABLE_PIN
#endif

#define _X_PINS X_STEP_PIN, X_DIR_PIN, _X_ENABLE_PIN _X_MIN _X_MAX _X_MS1 _X_MS2 _X_MS3 _X_CS
Expand Down Expand Up @@ -93,10 +93,10 @@
#else
#define _Y_MS3
#endif
#if AXIS_HAS_UART(Y) && defined SOFTWARE_DRIVER_ENABLE
#define _Y_ENABLE_PIN
#else
#if PIN_EXISTS(Y_ENABLE)
#define _Y_ENABLE_PIN Y_ENABLE_PIN,
#else
#define _Y_ENABLE_PIN
#endif

#define _Y_PINS Y_STEP_PIN, Y_DIR_PIN, _Y_ENABLE_PIN _Y_MIN _Y_MAX _Y_MS1 _Y_MS2 _Y_MS3 _Y_CS
Expand Down Expand Up @@ -131,10 +131,10 @@
#else
#define _Z_MS3
#endif
#if AXIS_HAS_UART(Z) && defined SOFTWARE_DRIVER_ENABLE
#define _Z_ENABLE_PIN
#else
#if PIN_EXISTS(Z_ENABLE)
#define _Z_ENABLE_PIN Z_ENABLE_PIN,
#else
#define _Z_ENABLE_PIN
#endif

#define _Z_PINS Z_STEP_PIN, Z_DIR_PIN, _Z_ENABLE_PIN _Z_MIN _Z_MAX _Z_MS1 _Z_MS2 _Z_MS3 _Z_CS
Expand Down

0 comments on commit 823323c

Please sign in to comment.