mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 20:03:53 +08:00
tizi: add panda siren fault (#27738)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 3df2e55bee
This commit is contained in:
2
cereal
2
cereal
Submodule cereal updated: 1f0d21df73...d70d215de6
2
panda
2
panda
Submodule panda updated: a1e1451d1c...12b9b65985
@@ -418,7 +418,7 @@ std::optional<bool> send_panda_states(PubMaster *pm, const std::vector<Panda *>
|
||||
|
||||
size_t j = 0;
|
||||
for (size_t f = size_t(cereal::PandaState::FaultType::RELAY_MALFUNCTION);
|
||||
f <= size_t(cereal::PandaState::FaultType::INTERRUPT_RATE_EXTI); f++) {
|
||||
f <= size_t(cereal::PandaState::FaultType::SIREN_MALFUNCTION); f++) {
|
||||
if (fault_bits.test(f)) {
|
||||
faults.set(j, cereal::PandaState::FaultType(f));
|
||||
j++;
|
||||
|
||||
Reference in New Issue
Block a user