Consolidate smart stepper driver initialization
This commit is contained in:
@ -88,6 +88,11 @@ void Power::check() {
|
||||
void Power::power_on() {
|
||||
lastPowerOn = millis();
|
||||
PSU_PIN_ON();
|
||||
|
||||
#if HAS_TRINAMIC
|
||||
delay(100); // Wait for power to settle
|
||||
restore_stepper_drivers();
|
||||
#endif
|
||||
}
|
||||
|
||||
void Power::power_off() {
|
||||
|
Reference in New Issue
Block a user