pandad: spiErrorCount is a better name (#35852)

* pandad: spiErrorCount is a better name

* bump panda
nacknack
Adeeb Shihadeh 7 days ago committed by GitHub
parent 44da3da1c4
commit 09eccd1aaf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      cereal/log.capnp
  2. 2
      panda
  3. 2
      selfdrive/pandad/pandad.cc

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

@ -1 +1 @@
Subproject commit 9a410b1ee51ce991dc36451787b4b920232d4fd9
Subproject commit 1d9aa1bebaf2fcc24f9fe8b82a89f071f8549477

@ -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);
}

Loading…
Cancel
Save