mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-21 16:13:47 +08:00
boardd: add blocked msg cnt (#23647)
* boardd: add blocked msg cnt * bump panda * bump panda
This commit is contained in:
+1
-1
Submodule cereal updated: 5c64eaab78...03860ae0b2
+1
-1
Submodule panda updated: 64498f0e85...00138a7f66
@@ -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);
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user