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:
parent
f79a5a9dee
commit
809b232fa2
@ -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…
Reference in New Issue
Block a user