mirror of https://github.com/ArduPilot/ardupilot
AP_Scripting: example: arming auth: removed unused millis call
now is fetched but never used
This commit is contained in:
parent
41943f5fda
commit
d6a1af4690
|
@ -5,7 +5,6 @@ batt_temp_max = 35
|
|||
|
||||
function update() -- this is the loop which periodically runs
|
||||
if auth_id then
|
||||
now = millis()
|
||||
batt_temp = battery:get_temperature(0)
|
||||
if not batt_temp then
|
||||
arming:set_aux_auth_failed(auth_id, "Could not retrieve battery temperature")
|
||||
|
|
Loading…
Reference in New Issue