mirror of https://github.com/ArduPilot/ardupilot
Plane: fixed APM2 build
This commit is contained in:
parent
8e65e5bff0
commit
88b73492c2
|
@ -357,9 +357,11 @@ static bool above_location_current(const Location &loc)
|
|||
*/
|
||||
static void setup_terrain_target_alt(Location &loc)
|
||||
{
|
||||
#if AP_TERRAIN_AVAILABLE
|
||||
if (g.terrain_follow) {
|
||||
loc.flags.terrain_alt = true;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue