From dbff8f40c86f092564f737a515b0d4474f4e7590 Mon Sep 17 00:00:00 2001 From: muramura Date: Sat, 1 Jun 2024 22:52:31 +0900 Subject: [PATCH] SITL: delete unnecessary settings --- libraries/SITL/SIM_GPS_SBP.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/SITL/SIM_GPS_SBP.cpp b/libraries/SITL/SIM_GPS_SBP.cpp index 9f4c8078e8c935..bc1a154a416d32 100644 --- a/libraries/SITL/SIM_GPS_SBP.cpp +++ b/libraries/SITL/SIM_GPS_SBP.cpp @@ -111,8 +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 + hb = {}; //Sends protocol version 0 sbp_send_message(SBP_HEARTBEAT_MSGTYPE, 0x2222, sizeof(hb), (uint8_t*)&hb);