Support for a 5th stepper in stepper code
This commit is contained in:
@ -862,6 +862,9 @@ void Stepper::isr() {
|
||||
SET_E_STEP_DIR(2);
|
||||
#if E_STEPPERS > 3
|
||||
SET_E_STEP_DIR(3);
|
||||
#if E_STEPPERS > 4
|
||||
SET_E_STEP_DIR(4);
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
@ -880,6 +883,9 @@ void Stepper::isr() {
|
||||
START_E_PULSE(2);
|
||||
#if E_STEPPERS > 3
|
||||
START_E_PULSE(3);
|
||||
#if E_STEPPERS > 4
|
||||
START_E_PULSE(4);
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
@ -899,6 +905,9 @@ void Stepper::isr() {
|
||||
STOP_E_PULSE(2);
|
||||
#if E_STEPPERS > 3
|
||||
STOP_E_PULSE(3);
|
||||
#if E_STEPPERS > 4
|
||||
STOP_E_PULSE(4);
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user