Skip to content

Commit ae7a25f

Browse files
thisiskeithbtomek2k1
authored andcommitted
🩹 Run TMC test last in setup (MarlinFirmware#24160)
1 parent 9bdca8e commit ae7a25f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Marlin/src/MarlinCore.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1561,10 +1561,6 @@ void setup() {
15611561
SETUP_RUN(hostui.prompt_end());
15621562
#endif
15631563

1564-
#if HAS_TRINAMIC_CONFIG && DISABLED(PSU_DEFAULT_OFF)
1565-
SETUP_RUN(test_tmc_connection());
1566-
#endif
1567-
15681564
#if HAS_DRIVER_SAFE_POWER_PROTECT
15691565
SETUP_RUN(stepper_driver_backward_report());
15701566
#endif
@@ -1622,6 +1618,10 @@ void setup() {
16221618
SETUP_RUN(easythreed_ui.init());
16231619
#endif
16241620

1621+
#if HAS_TRINAMIC_CONFIG && DISABLED(PSU_DEFAULT_OFF)
1622+
SETUP_RUN(test_tmc_connection());
1623+
#endif
1624+
16251625
marlin_state = MF_RUNNING;
16261626

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

0 commit comments

Comments
 (0)