From 36a0376c368222f646d4c60ca153087d378af6a5 Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 26 May 2019 13:07:12 +0200 Subject: [PATCH] fix TMC2208 boot loop with SW UART Need stepper .begin() before calling susbequent .push() --- Marlin/src/Marlin.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Marlin/src/Marlin.cpp b/Marlin/src/Marlin.cpp index c1f87f55dc..4d1c66d6f7 100644 --- a/Marlin/src/Marlin.cpp +++ b/Marlin/src/Marlin.cpp @@ -872,7 +872,11 @@ void setup() { #endif 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();