Browse Source

Fix LPC + TMC boot loop (#21298)

Chris 3 years ago
parent
commit
10ec5c7f34
No account linked to committer's email address
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      Marlin/src/MarlinCore.cpp

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

@@ -1053,6 +1053,10 @@ void setup() {
1053 1053
   #if HAS_FILAMENT_SENSOR
1054 1054
     SETUP_RUN(runout.setup());
1055 1055
   #endif
1056
+  
1057
+  #if HAS_TMC220x
1058
+    SETUP_RUN(tmc_serial_begin());
1059
+  #endif
1056 1060
 
1057 1061
   #if ENABLED(PSU_CONTROL)
1058 1062
     SETUP_LOG("PSU_CONTROL");
@@ -1068,10 +1072,6 @@ void setup() {
1068 1072
     SETUP_RUN(L64xxManager.init());  // Set up SPI, init drivers
1069 1073
   #endif
1070 1074
 
1071
-  #if HAS_TMC220x
1072
-    SETUP_RUN(tmc_serial_begin());
1073
-  #endif
1074
-
1075 1075
   #if HAS_STEPPER_RESET
1076 1076
     SETUP_RUN(disableStepperDrivers());
1077 1077
   #endif

Loading…
Cancel
Save