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

View File

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