mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-28 10:23:49 +08:00
more panda fault types (#2036)
old-commit-hash: c624b408428c09723eb8d02f19a6051f325b7187
This commit is contained in:
+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