1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-30 07:17:59 +00:00

🩹 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()); SETUP_RUN(hostui.prompt_end());
#endif #endif
#if HAS_TRINAMIC_CONFIG && DISABLED(PSU_DEFAULT_OFF)
SETUP_RUN(test_tmc_connection());
#endif
#if HAS_DRIVER_SAFE_POWER_PROTECT #if HAS_DRIVER_SAFE_POWER_PROTECT
SETUP_RUN(stepper_driver_backward_report()); SETUP_RUN(stepper_driver_backward_report());
#endif #endif
@ -1638,6 +1634,10 @@ void setup() {
SETUP_RUN(easythreed_ui.init()); SETUP_RUN(easythreed_ui.init());
#endif #endif
#if HAS_TRINAMIC_CONFIG && DISABLED(PSU_DEFAULT_OFF)
SETUP_RUN(test_tmc_connection());
#endif
marlin_state = MF_RUNNING; marlin_state = MF_RUNNING;
SETUP_LOG("setup() completed."); SETUP_LOG("setup() completed.");