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
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Reference in a new issue