ArduPlane: add gyro fft logging

This commit is contained in:
Andy Piper 2020-01-01 20:37:35 +00:00 committed by Andrew Tridgell
parent a16bb2f188
commit 04792b23a9

View File

@ -213,8 +213,12 @@ void Plane::update_logging1(void)
*/
void Plane::update_logging2(void)
{
if (should_log(MASK_LOG_CTUN))
if (should_log(MASK_LOG_CTUN)) {
Log_Write_Control_Tuning();
#if HAL_GYROFFT_ENABLED
gyro_fft.write_log_messages();
#endif
}
if (should_log(MASK_LOG_NTUN))
Log_Write_Nav_Tuning();