Fixing bug in load overvoltage protection

This commit is contained in:
Martin Jaeger
2019-08-16 07:48:56 +02:00
parent 152e218e60
commit e51a6384fb
+3 -1
View File
@@ -334,7 +334,9 @@ void load_control(LoadOutput *load, float load_max_voltage)
log_data.error_flags |= (1 << ERR_BAT_OVERVOLTAGE);
}
}
debounce_counter = 0;
else {
debounce_counter = 0;
}
}
#endif /* UNIT_TEST */