Browse Source

ArduSub: stop passing mission in Terrain constructor

Terrain can use the mission singleton

This means Copter can have terrain while compiling mission out
gps-1.3.1
Peter Barker 3 years ago committed by Andrew Tridgell
parent
commit
ac6842b0ac
  1. 2
      ArduSub/Sub.h

2
ArduSub/Sub.h

@ -363,7 +363,7 @@ private: @@ -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…
Cancel
Save