Plane: change for new AHRS API

This commit is contained in:
Andrew Tridgell 2014-01-02 17:06:02 +11:00
parent af5a3dff93
commit df5195e2c9
1 changed files with 2 additions and 2 deletions

View File

@ -275,9 +275,9 @@ AP_InertialSensor_L3G4200D ins;
// Inertial Navigation EKF // Inertial Navigation EKF
#if AP_AHRS_NAVEKF_AVAILABLE #if AP_AHRS_NAVEKF_AVAILABLE
AP_AHRS_NavEKF ahrs(ins, g_gps, barometer); AP_AHRS_NavEKF ahrs(ins, barometer, g_gps);
#else #else
AP_AHRS_DCM ahrs(ins, g_gps); AP_AHRS_DCM ahrs(ins, barometer, g_gps);
#endif #endif
static AP_L1_Control L1_controller(ahrs); static AP_L1_Control L1_controller(ahrs);