mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
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();
|
g2.efi.init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// give AHRS the airspeed sensor
|
|
||||||
ahrs.set_airspeed(&airspeed);
|
|
||||||
|
|
||||||
// GPS Initialization
|
// GPS Initialization
|
||||||
gps.set_log_gps_bit(MASK_LOG_GPS);
|
gps.set_log_gps_bit(MASK_LOG_GPS);
|
||||||
gps.init(serial_manager);
|
gps.init(serial_manager);
|
||||||
|
Loading…
Reference in New Issue
Block a user