Browse Source

ArduPlane: let AHRS get the airspeed sensor from the singleton

c415-sdk
Peter Barker 5 years ago committed by Tom Pittenger
parent
commit
5fae2652ab
  1. 3
      ArduPlane/system.cpp

3
ArduPlane/system.cpp

@ -97,9 +97,6 @@ void Plane::init_ardupilot() @@ -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);

Loading…
Cancel
Save