Browse Source

fix TMC2208 boot loop with SW UART (#14135)

Need stepper .begin() before calling susbequent .push()
Scott Lahteine 6 years ago
parent
commit
ffb76b75d7
No account linked to committer's email address
1 changed files with 5 additions and 4 deletions
  1. 5
    4
      Marlin/src/Marlin.cpp

+ 5
- 4
Marlin/src/Marlin.cpp View File

872
   #endif
872
   #endif
873
 
873
 
874
   setup_killpin();
874
   setup_killpin();
875
-
875
+  
876
+  #if HAS_DRIVER(TMC2208)
877
+    tmc2208_serial_begin();
878
+  #endif
879
+  
876
   setup_powerhold();
880
   setup_powerhold();
877
 
881
 
878
   #if HAS_STEPPER_RESET
882
   #if HAS_STEPPER_RESET
904
     #endif
908
     #endif
905
     tmc_init_cs_pins();
909
     tmc_init_cs_pins();
906
   #endif
910
   #endif
907
-  #if HAS_DRIVER(TMC2208)
908
-    tmc2208_serial_begin();
909
-  #endif
910
 
911
 
911
   #ifdef BOARD_INIT
912
   #ifdef BOARD_INIT
912
     BOARD_INIT();
913
     BOARD_INIT();

Loading…
Cancel
Save