APM: pass airspeed sensor to AHRS

This commit is contained in:
Andrew Tridgell 2012-08-11 08:57:44 +10:00
parent e48b0f8558
commit aa839c3f46

View File

@ -183,6 +183,9 @@ static void init_ardupilot()
}
#endif
// give AHRS the airspeed sensor
ahrs.set_airspeed(&airspeed);
// Do GPS init
g_gps = &g_gps_driver;
// GPS Initialization