ArduSub: 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 bab79d0094
commit ac6842b0ac

View File

@ -363,7 +363,7 @@ private:
// terrain handling
#if AP_TERRAIN_AVAILABLE
AP_Terrain terrain{mission};
AP_Terrain terrain;
#endif
// used to allow attitude and depth control without a position system