Enable load short circuit comparator
The load driver had to be moved to a .c file to allow attaching interrupt in Zephyr.
This commit is contained in:
@@ -151,3 +151,10 @@ void LoadOutput::set_voltage_limits(float lvd, float lvr, float ov)
|
||||
|
||||
overvoltage = ov;
|
||||
}
|
||||
|
||||
extern LoadOutput load;
|
||||
|
||||
void load_short_circuit_stop()
|
||||
{
|
||||
load.stop(ERR_LOAD_SHORT_CIRCUIT);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user