ArduCopter: Privatize AP_IntertialSensor Logging

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

View File

@ -423,7 +423,7 @@ void Copter::ten_hz_logging_loop()
pos_control->write_log();
}
if (should_log(MASK_LOG_IMU) || should_log(MASK_LOG_IMU_FAST) || should_log(MASK_LOG_IMU_RAW)) {
logger.Write_Vibration();
AP::ins().Write_Vibration();
}
if (should_log(MASK_LOG_CTUN)) {
attitude_control->control_monitor_log();
@ -458,7 +458,7 @@ void Copter::twentyfive_hz_logging()
}
if (should_log(MASK_LOG_IMU)) {
logger.Write_IMU();
AP::ins().Write_IMU();
}
#endif