Skip to content

Commit

Permalink
Merge pull request #243 from si458/patch-1
Browse files Browse the repository at this point in the history
fix timed out waiting for camera ping
  • Loading branch information
QuantumEntangledAndy authored Apr 26, 2024
2 parents 67508c1 + 556e051 commit d96f637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/camthread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ impl NeoCamThread {
},
Err(_) => {
// Timeout
if missed_pings > 5 {
if missed_pings < 5 {
missed_pings += 1;
continue;
} else {
Expand Down

0 comments on commit d96f637

Please sign in to comment.