forked from M-Labs/ionpak-thermostat
print message on protection latch
This commit is contained in:
parent
0d0c09b074
commit
9662570999
@ -122,6 +122,9 @@ pub fn process_errors() {
|
||||
if errors_n & AI_ERRN == 0 {
|
||||
hprintln!("Anode overcurrent");
|
||||
}
|
||||
if errors_n & ERR_LATCHN == 0 {
|
||||
hprintln!("Protection latched");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user