fix timed out waiting for camera ping

This commit is contained in:
Simon Smith authored and GitHub committed 2024-04-25 12:16:28 +01:00
1 parent d354b90976
commit 556e051edc
1 file changed
+1 -1
+1 -1
View File
@@ -76,7 +76,7 @@ impl NeoCamThread {
},
Err(_) => {
// Timeout
if missed_pings > 5 {
if missed_pings < 5 {
missed_pings += 1;
continue;
} else {