Browse Source

Fix stepper directions after M501/M502

See https://github.com/MarlinFirmware/Marlin/issues/11103#issuecomment-421387611

Co-Authored-By: tcm0116 <tcm0116@users.noreply.github.com>
pull/1/head
Scott Lahteine 6 years ago
parent
commit
809b232fa2
  1. 3
      Marlin/src/module/stepper_indirection.cpp

3
Marlin/src/module/stepper_indirection.cpp

@ -35,6 +35,8 @@
#include "../inc/MarlinConfig.h" #include "../inc/MarlinConfig.h"
#include "../module/stepper.h"
// //
// TMC26X Driver objects and inits // TMC26X Driver objects and inits
// //
@ -580,6 +582,7 @@ void reset_stepper_drivers() {
#if HAS_DRIVER(L6470) #if HAS_DRIVER(L6470)
L6470_init_to_defaults(); L6470_init_to_defaults();
#endif #endif
stepper.set_directions();
} }
// //

Loading…
Cancel
Save