boardd: add blocked msg cnt (#23647)

* boardd: add blocked msg cnt

* bump panda

* bump panda
old-commit-hash: 43c6ea8e7319b7ce1defd4a8d7b9e43f62e3f687
This commit is contained in:
Adeeb Shihadeh
2022-01-27 17:48:24 -08:00
committed by GitHub
parent fadba4b34d
commit 962c53cad5
4 changed files with 4 additions and 2 deletions
+1 -1
Submodule cereal updated: 5c64eaab78...03860ae0b2
+1 -1
Submodule panda updated: 64498f0e85...00138a7f66
+1
View File
@@ -342,6 +342,7 @@ bool send_panda_states(PubMaster *pm, const std::vector<Panda *> &pandas, bool s
auto ps = pss[i];
ps.setUptime(pandaState.uptime);
ps.setBlockedCnt(pandaState.blocked_msg_cnt);
ps.setIgnitionLine(pandaState.ignition_line);
ps.setIgnitionCan(pandaState.ignition_can);
ps.setControlsAllowed(pandaState.controls_allowed);
+1
View File
@@ -46,6 +46,7 @@ struct __attribute__((packed)) health_t {
uint8_t power_save_enabled;
uint8_t heartbeat_lost;
uint16_t unsafe_mode;
uint32_t blocked_msg_cnt;
};
struct __attribute__((packed)) can_header {