APM: pass airspeed sensor to AHRS

This commit is contained in:
Andrew Tridgell 2012-08-11 08:57:44 +10:00
parent f95b06a880
commit 9fea3e3ac1
1 changed files with 3 additions and 0 deletions

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