Kaynağa Gözat

fix TMC2208 boot loop with SW UART

Need stepper .begin() before calling susbequent .push()
Chris 6 yıl önce
ebeveyn
işleme
36a0376c36
No account linked to committer's email address
1 değiştirilmiş dosya ile 5 ekleme ve 4 silme
  1. 5
    4
      Marlin/src/Marlin.cpp

+ 5
- 4
Marlin/src/Marlin.cpp Dosyayı Görüntüle

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

Loading…
İptal
Kaydet