Merge pull request #243 from si458/patch-1

fix timed out waiting for camera ping
This commit is contained in:
Andrew King authored and GitHub committed 2024-04-26 11:18:32 +07:00
commit d96f637c84
1 file changed
+1 -1
+1 -1
View File
@@ -74,7 +74,7 @@ impl NeoCamThread {
},
Err(_) => {
// Timeout
if missed_pings > 5 {
if missed_pings < 5 {
missed_pings += 1;
continue;
} else {