fix timed out waiting for camera ping
This commit is contained in:
1 parent
d354b90976
commit
556e051edc
1 file changed
+1
-1
@@ -76,7 +76,7 @@ impl NeoCamThread {
|
||||
},
|
||||
Err(_) => {
|
||||
// Timeout
|
||||
if missed_pings > 5 {
|
||||
if missed_pings < 5 {
|
||||
missed_pings += 1;
|
||||
continue;
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user