AntennaTracker: Privatize AP_IntertialSensor Logging

This commit is contained in:
Josh Henderson 2021-01-22 00:23:36 -05:00 committed by Peter Barker
parent 1fb43d63e2
commit 86a75789a6
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ void Tracker::one_second_loop()
void Tracker::ten_hz_logging_loop()
{
if (should_log(MASK_LOG_IMU)) {
logger.Write_IMU();
AP::ins().Write_IMU();
}
if (should_log(MASK_LOG_ATTITUDE)) {
Log_Write_Attitude();