Rover: Privatize AP_IntertialSensor Logging

This commit is contained in:
Josh Henderson 2021-01-22 00:28:07 -05:00 committed by Peter Barker
parent 7e5ac5b648
commit 3225ca8853
1 changed files with 2 additions and 2 deletions

View File

@ -265,7 +265,7 @@ void Rover::ahrs_update()
}
if (should_log(MASK_LOG_IMU)) {
logger.Write_IMU();
AP::ins().Write_IMU();
}
}
@ -334,7 +334,7 @@ void Rover::update_logging2(void)
}
if (should_log(MASK_LOG_IMU)) {
logger.Write_Vibration();
AP::ins().Write_Vibration();
}
}