more panda fault types (#2036)

pull/2038/head
robbederks 2020-08-17 13:02:06 +02:00 committed by GitHub
parent fe43d51686
commit c624b40842
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

2
cereal

@ -1 +1 @@
Subproject commit 0d2ce45fc681f90b33fbcd11e5d80dd294ef751b
Subproject commit 50d37514897c07ae605691ee602ad6a01b51b890

View File

@ -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++;