Skip to content

Commit

Permalink
🩹 Run TMC test last in setup (#24160)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisiskeithb committed May 14, 2022
1 parent be0f108 commit 956f7d3
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 @@ -1577,10 +1577,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 @@ -1638,6 +1634,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 956f7d3

Please sign in to comment.