From 31c6d7aaa04f4daf74b6ab149c9a8a668c74bcfa Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 30 May 2018 11:34:29 +1000 Subject: [PATCH] Sub: Location gets ahrs from singleton --- ArduSub/system.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/ArduSub/system.cpp b/ArduSub/system.cpp index 81124b7129..52bec52eda 100644 --- a/ArduSub/system.cpp +++ b/ArduSub/system.cpp @@ -116,7 +116,6 @@ void Sub::init_ardupilot() #endif // init Location class - Location_Class::set_ahrs(&ahrs); #if AP_TERRAIN_AVAILABLE && AC_TERRAIN Location_Class::set_terrain(&terrain); wp_nav.set_terrain(&terrain);