fix transition to idle after camera fail

This commit is contained in:
Cole Deck 2024-05-14 18:23:41 -05:00
parent a2e7592ef7
commit c1f783bb2c

1
run.py
View File

@ -852,6 +852,7 @@ def mainloop_server(pool, manager):
mode = "Idle" mode = "Idle"
fprint("Giving up scanning cable.") fprint("Giving up scanning cable.")
failcount = 0 failcount = 0
arm_ready = True
else: else:
fprint("Unable to scan cable. Gonna retry.") fprint("Unable to scan cable. Gonna retry.")
camera_ready = False camera_ready = False