From 2116737e35211649645111966100728e8e8a7785 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 7 Nov 2018 19:39:15 +1100 Subject: [PATCH] Sub: don't pass ahrs to terrain constructor --- ArduSub/Sub.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduSub/Sub.h b/ArduSub/Sub.h index 8f8888d730..653dc8e70b 100644 --- a/ArduSub/Sub.h +++ b/ArduSub/Sub.h @@ -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