diff --git a/cereal b/cereal index abf03ffdec..9ede52e835 160000 --- a/cereal +++ b/cereal @@ -1 +1 @@ -Subproject commit abf03ffdec592e8b7a1c0d77e23fddb9e9b2ddd5 +Subproject commit 9ede52e835f2e6b7c263218592fc7deb20ff436f diff --git a/selfdrive/boardd/boardd.cc b/selfdrive/boardd/boardd.cc index 4f298cbe16..4d241f2e2f 100644 --- a/selfdrive/boardd/boardd.cc +++ b/selfdrive/boardd/boardd.cc @@ -476,8 +476,11 @@ void panda_state_thread(std::vector pandas, bool spoofing_started) { RateKeeper rk("panda_state_thread", 10); while (!do_exit && check_all_connected(pandas)) { - // send out peripheralState - send_peripheral_state(&pm, peripheral_panda); + if (sm.frame % 5 == 0) { + // send out peripheralState at 2Hz + send_peripheral_state(&pm, peripheral_panda); + } + auto ignition_opt = send_panda_states(&pm, pandas, spoofing_started); if (!ignition_opt) {