ArduPlane: let AHRS get the airspeed sensor from the singleton

This commit is contained in:
Peter Barker 2020-07-27 13:28:20 +10:00 committed by Tom Pittenger
parent 7bf7402561
commit 5fae2652ab
1 changed files with 0 additions and 3 deletions

View File

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