🩹 Run TMC test last in setup (#24160)

This commit is contained in:
Keith Bennett 2022-05-13 17:50:42 -07:00 committed by Scott Lahteine
parent 03b819bdb2
commit 94ed67e36e

View file

@ -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
@ -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.");