Sub: don't pass ahrs to terrain constructor

This commit is contained in:
Peter Barker 2018-11-07 19:39:15 +11:00 committed by Andrew Tridgell
parent 818bb8d56d
commit 2116737e35

View File

@ -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