mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-24 09:38:29 -04:00
APM: pass airspeed sensor to AHRS
This commit is contained in:
parent
e48b0f8558
commit
aa839c3f46
@ -183,6 +183,9 @@ static void init_ardupilot()
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// give AHRS the airspeed sensor
|
||||||
|
ahrs.set_airspeed(&airspeed);
|
||||||
|
|
||||||
// Do GPS init
|
// Do GPS init
|
||||||
g_gps = &g_gps_driver;
|
g_gps = &g_gps_driver;
|
||||||
// GPS Initialization
|
// GPS Initialization
|
||||||
|
Loading…
Reference in New Issue
Block a user