🐛 Apply direction bits at startup
This commit is contained in:
parent
4528fde7f9
commit
d93aa0c384
@ -3156,6 +3156,9 @@ void Stepper::init() {
|
|||||||
sei();
|
sei();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Init direction states
|
||||||
|
apply_directions();
|
||||||
|
|
||||||
#if HAS_MOTOR_CURRENT_SPI || HAS_MOTOR_CURRENT_PWM
|
#if HAS_MOTOR_CURRENT_SPI || HAS_MOTOR_CURRENT_PWM
|
||||||
initialized = true;
|
initialized = true;
|
||||||
digipot_init();
|
digipot_init();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user