Преглед изворни кода

🩹 Run TMC test last in setup (#24160)

Keith Bennett пре 2 година
родитељ
комит
956f7d32fb
No account linked to committer's email address
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4
    4
      Marlin/src/MarlinCore.cpp

+ 4
- 4
Marlin/src/MarlinCore.cpp Прегледај датотеку

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

Loading…
Откажи
Сачувај