Skip to content

Commit

Permalink
🩹 Run TMC test last in setup (MarlinFirmware#24160)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisiskeithb authored and Omkar Dhekne committed Mar 25, 2024
1 parent 9dd45fd commit ee8f5d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Marlin/src/MarlinCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1561,10 +1561,6 @@ void setup() {
SETUP_RUN(hostui.prompt_end());
#endif

#if HAS_TRINAMIC_CONFIG && DISABLED(PSU_DEFAULT_OFF)
SETUP_RUN(test_tmc_connection());
#endif

#if HAS_DRIVER_SAFE_POWER_PROTECT
SETUP_RUN(stepper_driver_backward_report());
#endif
Expand Down Expand Up @@ -1622,6 +1618,10 @@ void setup() {
SETUP_RUN(easythreed_ui.init());
#endif

#if HAS_TRINAMIC_CONFIG && DISABLED(PSU_DEFAULT_OFF)
SETUP_RUN(test_tmc_connection());
#endif

marlin_state = MF_RUNNING;

SETUP_LOG("setup() completed.");
Expand Down

0 comments on commit ee8f5d1

Please sign in to comment.