Fix LPC + TMC boot loop (#21298)

This commit is contained in:
Chris 2021-03-10 00:06:00 +01:00 committed by Scott Lahteine
parent 6652c7c435
commit 6c70402161

View File

@ -1053,6 +1053,10 @@ void setup() {
#if HAS_FILAMENT_SENSOR
SETUP_RUN(runout.setup());
#endif
#if HAS_TMC220x
SETUP_RUN(tmc_serial_begin());
#endif
#if ENABLED(PSU_CONTROL)
SETUP_LOG("PSU_CONTROL");
@ -1068,10 +1072,6 @@ void setup() {
SETUP_RUN(L64xxManager.init()); // Set up SPI, init drivers
#endif
#if HAS_TMC220x
SETUP_RUN(tmc_serial_begin());
#endif
#if HAS_STEPPER_RESET
SETUP_RUN(disableStepperDrivers());
#endif