Browse Source

Fix LPC + TMC boot loop (#21298)

vanilla_fb_2.0.x
Chris 4 years ago
committed by GitHub
parent
commit
10ec5c7f34
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      Marlin/src/MarlinCore.cpp

8
Marlin/src/MarlinCore.cpp

@ -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

Loading…
Cancel
Save