Skip to content

Commit

Permalink
SITL: delete unnecessary settings
Browse files Browse the repository at this point in the history
  • Loading branch information
muramura committed Jun 1, 2024
1 parent c2a9bc9 commit dbff8f4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libraries/SITL/SIM_GPS_SBP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit dbff8f4

Please sign in to comment.