From b56d176c82c19f1686fc6a614638d08a89b5681d Mon Sep 17 00:00:00 2001 From: Cole Deck Date: Tue, 14 May 2024 19:07:49 -0500 Subject: [PATCH] test camera --- run.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run.py b/run.py index 51f260e..ab4f4e8 100755 --- a/run.py +++ b/run.py @@ -851,7 +851,7 @@ def mainloop_server(pool, manager): if camera_ready == True: if scan_value is False: # unable to scan ???? not good - if failcount > 8: + if failcount > 15: mode = "Idle" fprint("Giving up scanning cable.") failcount = 0 @@ -906,6 +906,8 @@ def mainloop_server(pool, manager): if timecount > 180: timecount = 0 camera_ready = True + arm_ready = True + mode = "Idle" if mode == "Return":