Skip to content

Commit b3f4793

Browse files
thisiskeithbLCh-77
authored andcommitted
🩹 Run TMC test last in setup (MarlinFirmware#24160)
1 parent 1fd1b2e commit b3f4793

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Marlin/src/MarlinCore.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1577,10 +1577,6 @@ void setup() {
15771577
SETUP_RUN(hostui.prompt_end());
15781578
#endif
15791579

1580-
#if HAS_TRINAMIC_CONFIG && DISABLED(PSU_DEFAULT_OFF)
1581-
SETUP_RUN(test_tmc_connection());
1582-
#endif
1583-
15841580
#if HAS_DRIVER_SAFE_POWER_PROTECT
15851581
SETUP_RUN(stepper_driver_backward_report());
15861582
#endif
@@ -1638,6 +1634,10 @@ void setup() {
16381634
SETUP_RUN(easythreed_ui.init());
16391635
#endif
16401636

1637+
#if HAS_TRINAMIC_CONFIG && DISABLED(PSU_DEFAULT_OFF)
1638+
SETUP_RUN(test_tmc_connection());
1639+
#endif
1640+
16411641
marlin_state = MF_RUNNING;
16421642

16431643
SETUP_LOG("setup() completed.");

0 commit comments

Comments
 (0)