mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 14:08:45 -04:00
GCS_MAVLink: correct compilation for ALT_FRAME issue
This commit is contained in:
parent
2ed1757353
commit
5eb9622105
@ -3960,7 +3960,7 @@ void GCS_MAVLINK::send_set_position_target_global_int(uint8_t target_system, uin
|
||||
|
||||
// convert altitude to relative to home
|
||||
int32_t rel_alt;
|
||||
if (!loc.get_alt_cm(Location::ALT_FRAME_ABOVE_HOME, rel_alt)) {
|
||||
if (!loc.get_alt_cm(Location::AltFrame::ABOVE_HOME, rel_alt)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user