pandad: spiErrorCount is a better name (#35852)

* pandad: spiErrorCount is a better name

* bump panda
This commit is contained in:
Adeeb Shihadeh
2025-07-30 18:27:03 -07:00
committed by GitHub
parent 44da3da1c4
commit 09eccd1aaf
3 changed files with 3 additions and 3 deletions

View File

@@ -586,7 +586,7 @@ struct PandaState @0xa7649e2575e4591e {
fanPower @28 :UInt8;
fanStallCount @34 :UInt8;
spiChecksumErrorCount @33 :UInt16;
spiErrorCount @33 :UInt16;
harnessStatus @21 :HarnessStatus;
sbu1Voltage @35 :Float32;

2
panda

Submodule panda updated: 9a410b1ee5...1d9aa1beba

View File

@@ -155,7 +155,7 @@ void fill_panda_state(cereal::PandaState::Builder &ps, cereal::PandaState::Panda
ps.setFanPower(health.fan_power);
ps.setFanStallCount(health.fan_stall_count);
ps.setSafetyRxChecksInvalid((bool)(health.safety_rx_checks_invalid_pkt));
ps.setSpiChecksumErrorCount(health.spi_checksum_error_count_pkt);
ps.setSpiErrorCount(health.spi_error_count_pkt);
ps.setSbu1Voltage(health.sbu1_voltage_mV / 1000.0f);
ps.setSbu2Voltage(health.sbu2_voltage_mV / 1000.0f);
}