diff --git a/cereal/log.capnp b/cereal/log.capnp index ad2ecc6049..b9f4170265 100644 --- a/cereal/log.capnp +++ b/cereal/log.capnp @@ -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; diff --git a/panda b/panda index 9a410b1ee5..1d9aa1beba 160000 --- a/panda +++ b/panda @@ -1 +1 @@ -Subproject commit 9a410b1ee51ce991dc36451787b4b920232d4fd9 +Subproject commit 1d9aa1bebaf2fcc24f9fe8b82a89f071f8549477 diff --git a/selfdrive/pandad/pandad.cc b/selfdrive/pandad/pandad.cc index b0b9ab755a..35f6afc7b3 100644 --- a/selfdrive/pandad/pandad.cc +++ b/selfdrive/pandad/pandad.cc @@ -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); }