Browse Source

Sub: don't pass ahrs to terrain constructor

mission-4.1.18
Peter Barker 6 years ago committed by Andrew Tridgell
parent
commit
2116737e35
  1. 2
      ArduSub/Sub.h

2
ArduSub/Sub.h

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

Loading…
Cancel
Save