fix TMC2208 boot loop with SW UART (#14135)

Need stepper .begin() before calling susbequent .push()
This commit is contained in:
Scott Lahteine 2019-06-07 07:27:10 -05:00 committed by GitHub
commit ffb76b75d7
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -873,6 +873,10 @@ void setup() {
setup_killpin();
#if HAS_DRIVER(TMC2208)
tmc2208_serial_begin();
#endif
setup_powerhold();
#if HAS_STEPPER_RESET
@ -904,9 +908,6 @@ void setup() {
#endif
tmc_init_cs_pins();
#endif
#if HAS_DRIVER(TMC2208)
tmc2208_serial_begin();
#endif
#ifdef BOARD_INIT
BOARD_INIT();