Consolidate smart stepper driver initialization

This commit is contained in:
Scott Lahteine committed 2018-03-19 22:05:16 -05:00
1 parent 53362b81cc
commit 48d7036874
5 files changed
+173 -146

No files matched your search

+5
View File
@@ -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() {