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 LCh-77 committed May 28, 2022
1 parent 1fd1b2e commit b3f4793
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 b3f4793

Please sign in to comment.