Skip to content

Commit

Permalink
ArgenTech: engine-out script typo
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlong13 committed Apr 3, 2024
1 parent 805698b commit f580fa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/AP_Scripting/applets/engine_out.lua
Original file line number Diff line number Diff line change
Expand Up @@ -499,15 +499,15 @@ local function pre_arm_checks()
-- Check if the glide speed is within bounds
if GLIDE_SPD:get() <= 0 or GLIDE_SPD:get() < AIRSPEED_MIN:get() or GLIDE_SPD:get() > AIRSPEED_MAX:get() then
local failure_message =
PARAM_TABLE_PREFIX .. "ENGOUT_GLIDE_SPD out of bounds"
PARAM_TABLE_PREFIX .. "GLIDE_SPD out of bounds"
arming:set_aux_auth_failed(arming_auth_id, failure_message)
return
end

-- Check if VIB_THRSH is unusually low
if VIB_THRSH:get() <= 1 then
local failure_message =
PARAM_TABLE_PREFIX .. "ENGOUT_VIB_THRSH is too low"
PARAM_TABLE_PREFIX .. "VIB_THRSH is too low"
arming:set_aux_auth_failed(arming_auth_id, failure_message)
return
end
Expand Down

0 comments on commit f580fa2

Please sign in to comment.