Browse Source
fix TMC2208 boot loop with SW UART
Need stepper .begin() before calling susbequent .push()
pull/1/head
Chris
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
4 deletions
-
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(); |
|
|
|