k-line 5 init fault type (#1821)

* k-line 5 baud fault type

* update name

* bump cereal

* fix name

* add missing event
old-commit-hash: c458f5a5d3587d0eb87abbebd86c4f399e28c63d
This commit is contained in:
Greg Hogan
2020-07-06 09:33:16 -07:00
committed by GitHub
parent 6242e8351f
commit bcf7edf595
3 changed files with 4 additions and 2 deletions

2
cereal

Submodule cereal updated: 7f6df092ef...221c458e15

View File

@@ -509,7 +509,7 @@ void can_health(PubMaster &pm) {
size_t i = 0;
for (size_t f = size_t(cereal::HealthData::FaultType::RELAY_MALFUNCTION);
f <= size_t(cereal::HealthData::FaultType::REGISTER_DIVERGENT); f++){
f <= size_t(cereal::HealthData::FaultType::INTERRUPT_RATE_KLINE_INIT); f++){
if (fault_bits.test(f)) {
faults.set(i, cereal::HealthData::FaultType(f));
i++;

View File

@@ -204,6 +204,8 @@ def wrong_car_mode_alert(CP, sm, metric):
EVENTS = {
# ********** events with no alerts **********
EventName.modeldLagging: {},
# ********** events only containing alerts displayed in all states **********
EventName.debugAlert: {