mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -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
|
||||
#if AP_TERRAIN_AVAILABLE
|
||||
AP_Terrain terrain{mission};
|
||||
AP_Terrain terrain;
|
||||
#endif
|
||||
|
||||
// used to allow attitude and depth control without a position system
|
||||
|
Loading…
Reference in New Issue
Block a user