mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_Mount: adjust for location flags being moved out of union
This commit is contained in:
parent
1b2ac38691
commit
828317860a
@ -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…
Reference in New Issue
Block a user