mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
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:
parent
bab79d0094
commit
ac6842b0ac
@ -363,7 +363,7 @@ private:
|
|||||||
|
|
||||||
// terrain handling
|
// terrain handling
|
||||||
#if AP_TERRAIN_AVAILABLE
|
#if AP_TERRAIN_AVAILABLE
|
||||||
AP_Terrain terrain{mission};
|
AP_Terrain terrain;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// used to allow attitude and depth control without a position system
|
// used to allow attitude and depth control without a position system
|
||||||
|
Loading…
Reference in New Issue
Block a user