From 5fae2652ab8efef1e6e78a533826bf8ffcb46bda Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 27 Jul 2020 13:28:20 +1000 Subject: [PATCH] ArduPlane: let AHRS get the airspeed sensor from the singleton --- ArduPlane/system.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/ArduPlane/system.cpp b/ArduPlane/system.cpp index 300db49f77..6d2ecb14c7 100644 --- a/ArduPlane/system.cpp +++ b/ArduPlane/system.cpp @@ -97,9 +97,6 @@ void Plane::init_ardupilot() g2.efi.init(); #endif - // give AHRS the airspeed sensor - ahrs.set_airspeed(&airspeed); - // GPS Initialization gps.set_log_gps_bit(MASK_LOG_GPS); gps.init(serial_manager);