mirror of https://github.com/ArduPilot/ardupilot
SITL: correct valgrind failure in SIM_GPS_SBP
This commit is contained in:
parent
624f9ac936
commit
2726d42712
|
@ -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