AP_Scripting: prevent "Starting XXX tune" happening multiple times

when filter setting disabled
This commit is contained in:
Andrew Tridgell 2024-03-12 12:25:47 +11:00 committed by Randy Mackay
parent c173b3f186
commit 6a8130e8ba
1 changed files with 1 additions and 0 deletions

View File

@ -288,6 +288,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"