mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-03-01 12:27:13 +00:00
🐛 Apply direction bits at startup
This commit is contained in:
parent
4528fde7f9
commit
d93aa0c384
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue