mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
Plane: update for API changes
This commit is contained in:
parent
49179292b1
commit
ff5f2ceae5
@ -258,7 +258,7 @@ AP_InertialSensor_L3G4200D ins;
|
|||||||
#error Unrecognised CONFIG_INS_TYPE setting.
|
#error Unrecognised CONFIG_INS_TYPE setting.
|
||||||
#endif // CONFIG_INS_TYPE
|
#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_L1_Control L1_controller(ahrs);
|
||||||
static AP_TECS TECS_controller(ahrs, aparm);
|
static AP_TECS TECS_controller(ahrs, aparm);
|
||||||
|
@ -438,7 +438,7 @@ static void Log_Write_GPS(void)
|
|||||||
|
|
||||||
static void Log_Write_IMU()
|
static void Log_Write_IMU()
|
||||||
{
|
{
|
||||||
DataFlash.Log_Write_IMU(&ins);
|
DataFlash.Log_Write_IMU(ins);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct LogStructure log_structure[] PROGMEM = {
|
static const struct LogStructure log_structure[] PROGMEM = {
|
||||||
|
Loading…
Reference in New Issue
Block a user