mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-09-29 19:04:03 +08:00
+1
-1
Submodule cereal updated: 0d2ce45fc6...50d3751489
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user