Skip to content

Commit

Permalink
AP_Scripting: Misc. small improvements.
Browse files Browse the repository at this point in the history
Typo fix
Removed unused variable
  • Loading branch information
Georacer committed Jun 21, 2024
1 parent 96682b1 commit e54599f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion libraries/AP_Scripting/applets/VTOL-quicktune.lua
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ function adjust_gain(pname, value)
local FF = params[ffname]
if FF:get() > 0 then
-- if we have any FF on an axis then we don't couple I to P,
-- usually we want I = FF for a one sectond time constant for trim
-- usually we want I = FF for a one second time constant for trim
return
end
param_changed[iname] = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ local slew
local slew_pwm
function update()

local switch_pos = switch:get_aux_switch_pos()
if switch:get_aux_switch_pos() == 2 then
if not script_enabled then
gcs:send_text(0, "Lua: Forward flight motor shutdown enabled")
Expand Down

0 comments on commit e54599f

Please sign in to comment.