From 556e051edc26d0337b9e3c5efc0196a486a2de1b Mon Sep 17 00:00:00 2001 From: Simon Smith Date: Thu, 25 Apr 2024 12:16:28 +0100 Subject: [PATCH] fix timed out waiting for camera ping --- src/common/camthread.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/camthread.rs b/src/common/camthread.rs index 18646e9..0f412bd 100644 --- a/src/common/camthread.rs +++ b/src/common/camthread.rs @@ -76,7 +76,7 @@ impl NeoCamThread { }, Err(_) => { // Timeout - if missed_pings > 5 { + if missed_pings < 5 { missed_pings += 1; continue; } else {