mirror of https://github.com/ArduPilot/ardupilot
ArduPlane: stop passing mission in Terrain constructor
Terrain can use the mission singleton This means Copter can have terrain while compiling mission out
This commit is contained in:
parent
3989ed76cd
commit
bab79d0094
|
@ -641,7 +641,7 @@ private:
|
||||||
|
|
||||||
// terrain handling
|
// terrain handling
|
||||||
#if AP_TERRAIN_AVAILABLE
|
#if AP_TERRAIN_AVAILABLE
|
||||||
AP_Terrain terrain{mission};
|
AP_Terrain terrain;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
AP_Landing landing{mission,ahrs,&TECS_controller,nav_controller,aparm,
|
AP_Landing landing{mission,ahrs,&TECS_controller,nav_controller,aparm,
|
||||||
|
|
Loading…
Reference in New Issue