Browse Source

Tools: Replay: update Replay for Location/Location_Class merge

mission-4.1.18
Peter Barker 6 years ago committed by Peter Barker
parent
commit
3a53c5f99c
  1. 3
      Tools/Replay/MsgHandler.cpp

3
Tools/Replay/MsgHandler.cpp

@ -203,8 +203,7 @@ void MsgHandler::location_from_msg(uint8_t *msg, @@ -203,8 +203,7 @@ void MsgHandler::location_from_msg(uint8_t *msg,
{
loc.lat = require_field_int32_t(msg, label_lat);
loc.lng = require_field_int32_t(msg, label_long);
loc.alt = require_field_int32_t(msg, label_alt);
loc.options = 0;
loc.set_alt_cm(require_field_int32_t(msg, label_alt), Location::ALT_FRAME_ABSOLUTE);
}
void MsgHandler::ground_vel_from_msg(uint8_t *msg,

Loading…
Cancel
Save