Improve load voltage limits setup and update
This commit is contained in:
committed by
Martin Jäger
parent
cdb9183c11
commit
6af8e6d93d
@@ -216,3 +216,11 @@ void LoadOutput::stop(uint32_t error_flag)
|
||||
oc_timestamp = uptime();
|
||||
}
|
||||
}
|
||||
|
||||
void LoadOutput::set_voltage_limits(float lvd, float lvr, float ov)
|
||||
{
|
||||
disconnect_voltage = lvd;
|
||||
reconnect_voltage = lvr;
|
||||
|
||||
overvoltage = ov;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user