more panda fault types (#2036)
parent
fe43d51686
commit
c624b40842
2
cereal
2
cereal
|
@ -1 +1 @@
|
|||
Subproject commit 0d2ce45fc681f90b33fbcd11e5d80dd294ef751b
|
||||
Subproject commit 50d37514897c07ae605691ee602ad6a01b51b890
|
|
@ -376,7 +376,7 @@ void can_health_thread() {
|
|||
|
||||
size_t i = 0;
|
||||
for (size_t f = size_t(cereal::HealthData::FaultType::RELAY_MALFUNCTION);
|
||||
f <= size_t(cereal::HealthData::FaultType::INTERRUPT_RATE_KLINE_INIT); f++){
|
||||
f <= size_t(cereal::HealthData::FaultType::INTERRUPT_RATE_TIM9); f++){
|
||||
if (fault_bits.test(f)) {
|
||||
faults.set(i, cereal::HealthData::FaultType(f));
|
||||
i++;
|
||||
|
|
Loading…
Reference in New Issue