From d8d3494b170d50f7b45dced928cd5d9150b50d2f Mon Sep 17 00:00:00 2001 From: Josh Henderson Date: Tue, 27 Apr 2021 00:59:42 -0400 Subject: [PATCH] Blimp: Privatize AP_IntertialSensor Logging --- Blimp/Blimp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Blimp/Blimp.cpp b/Blimp/Blimp.cpp index 8ac770870a..c9912cb0f7 100644 --- a/Blimp/Blimp.cpp +++ b/Blimp/Blimp.cpp @@ -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