Move HAS_DIGIPOTSS to conditionals
This commit is contained in:
parent
169c21b477
commit
4f2ff46ab9
2 changed files with 1 additions and 2 deletions
|
@ -735,6 +735,7 @@
|
||||||
#define HAS_E2_STEP (PIN_EXISTS(E2_STEP))
|
#define HAS_E2_STEP (PIN_EXISTS(E2_STEP))
|
||||||
#define HAS_E3_STEP (PIN_EXISTS(E3_STEP))
|
#define HAS_E3_STEP (PIN_EXISTS(E3_STEP))
|
||||||
#define HAS_E4_STEP (PIN_EXISTS(E4_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))
|
#define HAS_MOTOR_CURRENT_PWM (PIN_EXISTS(MOTOR_CURRENT_PWM_XY) || PIN_EXISTS(MOTOR_CURRENT_PWM_Z) || PIN_EXISTS(MOTOR_CURRENT_PWM_E))
|
||||||
|
|
||||||
|
|
|
@ -432,6 +432,4 @@
|
||||||
X_MS1_PIN, X_MS2_PIN, Y_MS1_PIN, Y_MS2_PIN, Z_MS1_PIN, Z_MS2_PIN \
|
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
|
#endif //__PINS_H
|
||||||
|
|
Reference in a new issue