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