mirror of https://github.com/ArduPilot/ardupilot
AP_Scripting: fixup comment in set-target-location example script
This commit is contained in:
parent
0846746932
commit
05b563cf54
|
@ -12,7 +12,7 @@ local copter_guided_mode_num = 4
|
||||||
local copter_land_mode_num = 9
|
local copter_land_mode_num = 9
|
||||||
local sent_target = false
|
local sent_target = false
|
||||||
|
|
||||||
-- the main update function that is used to decide when we should do a failsafe
|
-- the main update function that performs a simplified version of RTL
|
||||||
function update()
|
function update()
|
||||||
if not arming:is_armed() then -- reset state when disarmed
|
if not arming:is_armed() then -- reset state when disarmed
|
||||||
sent_target = false
|
sent_target = false
|
||||||
|
|
Loading…
Reference in New Issue