Copter: Terrain uses rally singleton

This commit is contained in:
Peter Barker 2019-01-08 22:42:41 +11:00 committed by Andrew Tridgell
parent 2207f52c8e
commit f50418f72a

View File

@ -526,7 +526,7 @@ private:
// terrain handling
#if AP_TERRAIN_AVAILABLE && AC_TERRAIN && MODE_AUTO_ENABLED == ENABLED
AP_Terrain terrain{mode_auto.mission, rally};
AP_Terrain terrain{mode_auto.mission};
#endif
// Precision Landing