From 1dd866892cbddf4082007972ec6bb2a47c98ab5c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 12 Mar 2024 12:25:47 +1100 Subject: [PATCH] AP_Scripting: prevent "Starting XXX tune" happening multiple times when filter setting disabled --- libraries/AP_Scripting/applets/VTOL-quicktune.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_Scripting/applets/VTOL-quicktune.lua b/libraries/AP_Scripting/applets/VTOL-quicktune.lua index 5c6d093f96..2a15ada74d 100644 --- a/libraries/AP_Scripting/applets/VTOL-quicktune.lua +++ b/libraries/AP_Scripting/applets/VTOL-quicktune.lua @@ -183,6 +183,7 @@ end -- setup filter frequencies function setup_filters(axis) if QUIK_AUTO_FILTER:get() <= 0 then + filters_done[axis] = true return end local fltd = axis .. "_FLTD"