mirror of https://github.com/ArduPilot/ardupilot
ArduPlane: let AHRS get the airspeed sensor from the singleton
This commit is contained in:
parent
7bf7402561
commit
5fae2652ab
|
@ -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…
Reference in New Issue