Browse Source

AP_Mount: adjust for location flags being moved out of union

master
Peter Barker 6 years ago committed by Peter Barker
parent
commit
828317860a
  1. 2
      libraries/AP_Mount/AP_Mount_Backend.cpp

2
libraries/AP_Mount/AP_Mount_Backend.cpp

@ -67,7 +67,7 @@ void AP_Mount_Backend::control(int32_t pitch_or_lat, int32_t roll_or_lon, int32_ @@ -67,7 +67,7 @@ void AP_Mount_Backend::control(int32_t pitch_or_lat, int32_t roll_or_lon, int32_
target_location.lat = pitch_or_lat;
target_location.lng = roll_or_lon;
target_location.alt = yaw_or_alt;
target_location.flags.relative_alt = true;
target_location.relative_alt = true;
set_roi_target(target_location);
break;

Loading…
Cancel
Save