Plane: update for API changes

This commit is contained in:
Andrew Tridgell 2013-11-04 14:37:32 +11:00
parent 49179292b1
commit ff5f2ceae5
2 changed files with 2 additions and 2 deletions

View File

@ -258,7 +258,7 @@ AP_InertialSensor_L3G4200D ins;
#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);
static AP_TECS TECS_controller(ahrs, aparm);

View File

@ -438,7 +438,7 @@ static void Log_Write_GPS(void)
static void Log_Write_IMU()
{
DataFlash.Log_Write_IMU(&ins);
DataFlash.Log_Write_IMU(ins);
}
static const struct LogStructure log_structure[] PROGMEM = {