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: c458f5a5d3
commatwo_master
Greg Hogan 5 years ago committed by GitHub
parent 6242e8351f
commit bcf7edf595
  1. 2
      cereal
  2. 2
      selfdrive/boardd/boardd.cc
  3. 2
      selfdrive/controls/lib/events.py

@ -1 +1 @@
Subproject commit 7f6df092efdc64fbab56d1f8804ce40ccd77dee5 Subproject commit 221c458e15e223304500175981e7894f5c5c0e4f

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

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

Loading…
Cancel
Save