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

This commit is contained in:
Peter Barker 2022-01-24 17:23:45 +11:00 committed by Andrew Tridgell
parent d6c653bdc5
commit a25e4f82cc

View File

@ -58,11 +58,6 @@ void Sub::Log_Write_Attitude()
ahrs.Write_Attitude(targets);
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 {