From 8fbdb0103312a53e7c6ef3980edd64f0106d7e64 Mon Sep 17 00:00:00 2001 From: murata Date: Sat, 5 Feb 2022 21:16:58 +0900 Subject: [PATCH] AC_AutoTune: Remove meaningless semicolons --- libraries/AC_AutoTune/AC_AutoTune_Heli.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AC_AutoTune/AC_AutoTune_Heli.cpp b/libraries/AC_AutoTune/AC_AutoTune_Heli.cpp index 5c8cbaf75c..5e583b9122 100644 --- a/libraries/AC_AutoTune/AC_AutoTune_Heli.cpp +++ b/libraries/AC_AutoTune/AC_AutoTune_Heli.cpp @@ -126,7 +126,7 @@ void AC_AutoTune_Heli::test_init() // start with freq found for sweep where phase was 180 deg } else if (!is_zero(sweep.ph180_freq)) { freq_cnt = 12; - test_freq[freq_cnt] = sweep.ph180_freq - 0.25f * 3.14159f * 2.0f;; + test_freq[freq_cnt] = sweep.ph180_freq - 0.25f * 3.14159f * 2.0f; // otherwise start at min freq to step up in dwell frequency until phase > 160 deg } else { freq_cnt = 0; @@ -140,7 +140,7 @@ void AC_AutoTune_Heli::test_init() } else { if (!is_zero(sweep.ph180_freq)) { freq_cnt = 12; - test_freq[freq_cnt] = sweep.ph180_freq - 0.25f * 3.14159f * 2.0f;; + test_freq[freq_cnt] = sweep.ph180_freq - 0.25f * 3.14159f * 2.0f; curr_test_freq = test_freq[freq_cnt]; start_freq = curr_test_freq; stop_freq = curr_test_freq;