AP_Scripting: example: arming auth: removed unused millis call

now is fetched but never used
This commit is contained in:
Peter Hall 2020-11-11 00:06:02 +00:00 committed by Andrew Tridgell
parent 41943f5fda
commit d6a1af4690
1 changed files with 0 additions and 1 deletions

View File

@ -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")