Browse Source

🩹 Run TMC test last in setup (#24160)

Keith Bennett 3 years ago
parent
commit
956f7d32fb
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

1577
     SETUP_RUN(hostui.prompt_end());
1577
     SETUP_RUN(hostui.prompt_end());
1578
   #endif
1578
   #endif
1579
 
1579
 
1580
-  #if HAS_TRINAMIC_CONFIG && DISABLED(PSU_DEFAULT_OFF)
1581
-    SETUP_RUN(test_tmc_connection());
1582
-  #endif
1583
-
1584
   #if HAS_DRIVER_SAFE_POWER_PROTECT
1580
   #if HAS_DRIVER_SAFE_POWER_PROTECT
1585
     SETUP_RUN(stepper_driver_backward_report());
1581
     SETUP_RUN(stepper_driver_backward_report());
1586
   #endif
1582
   #endif
1638
     SETUP_RUN(easythreed_ui.init());
1634
     SETUP_RUN(easythreed_ui.init());
1639
   #endif
1635
   #endif
1640
 
1636
 
1637
+  #if HAS_TRINAMIC_CONFIG && DISABLED(PSU_DEFAULT_OFF)
1638
+    SETUP_RUN(test_tmc_connection());
1639
+  #endif
1640
+
1641
   marlin_state = MF_RUNNING;
1641
   marlin_state = MF_RUNNING;
1642
 
1642
 
1643
   SETUP_LOG("setup() completed.");
1643
   SETUP_LOG("setup() completed.");

Loading…
Cancel
Save