mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-12 10:58:30 -04:00
AP_Scripting: fixed use of QUIK_ENABLE in VTOL-quicktune
this was lost when the cached access was added
This commit is contained in:
parent
678b81563d
commit
dc7efab45f
@ -484,6 +484,9 @@ end
|
||||
-- main update function
|
||||
local last_warning = get_time()
|
||||
function update()
|
||||
if QUIK_ENABLE:get() < 1 then
|
||||
return
|
||||
end
|
||||
if have_pilot_input() then
|
||||
last_pilot_input = get_time()
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user