ArduCopter: move logging of SIMSTATE, AHRS2 and POS into AP_AHRS library

This commit is contained in:
Peter Barker 2022-01-24 17:23:44 +11:00 committed by Andrew Tridgell
parent 0df4b8066c
commit 35506d0681

View File

@ -87,11 +87,6 @@ void Copter::Log_Write_Attitude()
void Copter::Log_Write_EKF_POS()
{
AP::ahrs().Log_Write();
ahrs.Write_AHRS2();
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
sitl.Log_Write_SIMSTATE();
#endif
ahrs.Write_POS();
}
struct PACKED log_Data_Int16t {