Rename (Dcdc|PwmSwitch)::emergency_stop to stop

The stop functions can be used in a generic way, not only in an emergency
situation. The name was misleading.
This commit is contained in:
Martin Jäger
2020-11-05 20:36:51 +01:00
parent 75e2969274
commit c6709f8f00
5 changed files with 16 additions and 13 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ void PwmSwitch::control()
}
}
void PwmSwitch::emergency_stop()
void PwmSwitch::stop()
{
pwm_signal_stop();
off_timestamp = uptime();