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