🩹 Run TMC test last in setup (#24160)

This commit is contained in:
Keith Bennett 2022-05-13 17:50:42 -07:00 committed by GitHub
parent be0f1088f0
commit 956f7d32fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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