From 83b1c3a0bd2b244069c59f26bef578d72ce2bcc7 Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Wed, 1 Jan 2020 20:37:51 +0000 Subject: [PATCH] ArduSub: add gyro fft logging --- ArduSub/ArduSub.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ArduSub/ArduSub.cpp b/ArduSub/ArduSub.cpp index 8bfbd8e4cf..8a17ac578b 100644 --- a/ArduSub/ArduSub.cpp +++ b/ArduSub/ArduSub.cpp @@ -325,6 +325,9 @@ void Sub::update_altitude() if (should_log(MASK_LOG_CTUN)) { Log_Write_Control_Tuning(); +#if HAL_GYROFFT_ENABLED + gyro_fft.write_log_messages(); +#endif } }