mirror of https://github.com/ArduPilot/ardupilot
SITL: correct valgrind failure in SIM_GPS_SBP
This commit is contained in:
parent
8ef16e91c3
commit
b06db0c207
|
@ -111,6 +111,7 @@ void GPS_SBP::publish(const GPS_Data *d)
|
|||
sbp_send_message(SBP_DOPS_MSGTYPE, 0x2222, sizeof(dops),
|
||||
(uint8_t*)&dops);
|
||||
|
||||
hb = {};
|
||||
hb.protocol_major = 0; //Sends protocol version 0
|
||||
sbp_send_message(SBP_HEARTBEAT_MSGTYPE, 0x2222, sizeof(hb),
|
||||
(uint8_t*)&hb);
|
||||
|
|
Loading…
Reference in New Issue