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:
Peter Barker 2022-02-02 14:28:34 +11:00 committed by Andrew Tridgell
parent 3989ed76cd
commit bab79d0094
1 changed files with 1 additions and 1 deletions

View File

@ -641,7 +641,7 @@ private:
// terrain handling
#if AP_TERRAIN_AVAILABLE
AP_Terrain terrain{mission};
AP_Terrain terrain;
#endif
AP_Landing landing{mission,ahrs,&TECS_controller,nav_controller,aparm,