Skip to content

Commit

Permalink
Move TMC Test
Browse files Browse the repository at this point in the history
Move TMC test to the very end of Marlin setup.
  • Loading branch information
thisiskeithb committed May 13, 2022
1 parent c1b53d6 commit 81c6ece
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 81c6ece

Please sign in to comment.