fix TMC2208 boot loop with SW UART
Need stepper .begin() before calling susbequent .push()
This commit is contained in:
parent
df7733425c
commit
36a0376c36
@ -873,6 +873,10 @@ void setup() {
|
|||||||
|
|
||||||
setup_killpin();
|
setup_killpin();
|
||||||
|
|
||||||
|
#if HAS_DRIVER(TMC2208)
|
||||||
|
tmc2208_serial_begin();
|
||||||
|
#endif
|
||||||
|
|
||||||
setup_powerhold();
|
setup_powerhold();
|
||||||
|
|
||||||
#if HAS_STEPPER_RESET
|
#if HAS_STEPPER_RESET
|
||||||
@ -904,9 +908,6 @@ void setup() {
|
|||||||
#endif
|
#endif
|
||||||
tmc_init_cs_pins();
|
tmc_init_cs_pins();
|
||||||
#endif
|
#endif
|
||||||
#if HAS_DRIVER(TMC2208)
|
|
||||||
tmc2208_serial_begin();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef BOARD_INIT
|
#ifdef BOARD_INIT
|
||||||
BOARD_INIT();
|
BOARD_INIT();
|
||||||
|
Loading…
Reference in New Issue
Block a user