mirror of https://github.com/ArduPilot/ardupilot
Plane: fixed build for SITL changes
This commit is contained in:
parent
e1cb9beeef
commit
9108179322
|
@ -178,7 +178,7 @@ void Plane::Log_Write_Attitude(void)
|
||||||
DataFlash.Log_Write_AHRS2(ahrs);
|
DataFlash.Log_Write_AHRS2(ahrs);
|
||||||
#endif
|
#endif
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||||
sitl.Log_Write_SIMSTATE(DataFlash);
|
sitl.Log_Write_SIMSTATE(&DataFlash);
|
||||||
#endif
|
#endif
|
||||||
DataFlash.Log_Write_POS(ahrs);
|
DataFlash.Log_Write_POS(ahrs);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue