Consolidate smart stepper driver initialization
This commit is contained in:
parent
72776f647b
commit
a03502080e
5 changed files with 180 additions and 119 deletions
|
|
@ -87,6 +87,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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue