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>
This commit is contained in:
Scott Lahteine 2018-09-14 20:00:55 -05:00
parent f79a5a9dee
commit 809b232fa2

View file

@ -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();
} }
// //