Browse Source

Move HAS_DIGIPOTSS to conditionals

pull/1/head
Scott Lahteine 8 years ago
parent
commit
4f2ff46ab9
  1. 1
      Marlin/Conditionals.h
  2. 2
      Marlin/pins.h

1
Marlin/Conditionals.h

@ -735,6 +735,7 @@
#define HAS_E2_STEP (PIN_EXISTS(E2_STEP))
#define HAS_E3_STEP (PIN_EXISTS(E3_STEP))
#define HAS_E4_STEP (PIN_EXISTS(E4_STEP))
#define HAS_DIGIPOTSS (PIN_EXISTS(DIGIPOTSS))
#define HAS_MOTOR_CURRENT_PWM (PIN_EXISTS(MOTOR_CURRENT_PWM_XY) || PIN_EXISTS(MOTOR_CURRENT_PWM_Z) || PIN_EXISTS(MOTOR_CURRENT_PWM_E))

2
Marlin/pins.h

@ -432,6 +432,4 @@
X_MS1_PIN, X_MS2_PIN, Y_MS1_PIN, Y_MS2_PIN, Z_MS1_PIN, Z_MS2_PIN \
}
#define HAS_DIGIPOTSS (PIN_EXISTS(DIGIPOTSS))
#endif //__PINS_H

Loading…
Cancel
Save