Blimp: Privatize AP_IntertialSensor Logging

This commit is contained in:
Josh Henderson 2021-04-27 00:59:42 -04:00 committed by Peter Barker
parent 859fc73ba3
commit d8d3494b17
1 changed files with 2 additions and 2 deletions

View File

@ -253,7 +253,7 @@ void Blimp::ten_hz_logging_loop()
logger.Write_RCOUT();
}
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();
}
}
@ -272,7 +272,7 @@ void Blimp::twentyfive_hz_logging()
}
if (should_log(MASK_LOG_IMU)) {
logger.Write_IMU();
AP::ins().Write_IMU();
}
#endif