k-line 5 init fault type (#1821)

* k-line 5 baud fault type

* update name

* bump cereal

* fix name

* add missing event
pull/214/head
Greg Hogan 5 years ago committed by GitHub
parent 10bfbaff8e
commit c458f5a5d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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;
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++;

@ -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: {

Loading…
Cancel
Save