From c8c458f0e7d9a5cb355deb376ef770c3f0b86111 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Wed, 5 Apr 2023 22:16:44 -0700 Subject: [PATCH] boardd: log SPI checksum errors (#27818) * boardd: log SPI checksum errors * bump panda --- cereal | 2 +- panda | 2 +- selfdrive/boardd/boardd.cc | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cereal b/cereal index 9baf462ce8..4f5502c865 160000 --- a/cereal +++ b/cereal @@ -1 +1 @@ -Subproject commit 9baf462ce897182f57054322ef229485d6df9031 +Subproject commit 4f5502c8657813ccb538e9575ca1a7b258b17af9 diff --git a/panda b/panda index e516a5752b..6f852b44a9 160000 --- a/panda +++ b/panda @@ -1 +1 @@ -Subproject commit e516a5752b56d9b95229042c5cca8c74b6a9feb0 +Subproject commit 6f852b44a9ef1ee119fabf6aa2a9c477ed594a46 diff --git a/selfdrive/boardd/boardd.cc b/selfdrive/boardd/boardd.cc index 12b90ef64f..2454ee51d8 100644 --- a/selfdrive/boardd/boardd.cc +++ b/selfdrive/boardd/boardd.cc @@ -386,6 +386,7 @@ std::optional send_panda_states(PubMaster *pm, const std::vector ps.setInterruptLoad(health.interrupt_load); ps.setFanPower(health.fan_power); ps.setSafetyRxChecksInvalid((bool)(health.safety_rx_checks_invalid)); + ps.setSpiChecksumErrorCount(health.spi_checksum_error_count); std::array cs = {ps.initCanState0(), ps.initCanState1(), ps.initCanState2()};