mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-24 09:38:29 -04:00
Copter: fixed build for SITL changes
This commit is contained in:
parent
9108179322
commit
0c92331762
@ -365,7 +365,7 @@ void Copter::Log_Write_Attitude()
|
|||||||
#endif
|
#endif
|
||||||
DataFlash.Log_Write_AHRS2(ahrs);
|
DataFlash.Log_Write_AHRS2(ahrs);
|
||||||
#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
Block a user