Rover: update for AHRS API changes

This commit is contained in:
Andrew Tridgell 2013-11-04 14:37:54 +11:00 committed by Randy Mackay
parent dca5bee080
commit 2f5098598d

View File

@ -252,7 +252,7 @@ AP_InertialSensor_Oilpan ins( &adc );
#error Unrecognised CONFIG_INS_TYPE setting.
#endif // CONFIG_INS_TYPE
AP_AHRS_DCM ahrs(&ins, g_gps);
AP_AHRS_DCM ahrs(ins, g_gps);
static AP_L1_Control L1_controller(ahrs);
@ -642,7 +642,7 @@ static void ahrs_update()
Log_Write_Attitude();
if (g.log_bitmask & MASK_LOG_IMU)
DataFlash.Log_Write_IMU(&ins);
DataFlash.Log_Write_IMU(ins);
}
/*