Skip to content

Commit

Permalink
fix timed out waiting for camera ping
Browse files Browse the repository at this point in the history
  • Loading branch information
si458 authored Apr 25, 2024
1 parent d354b90 commit 556e051
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 @@ -76,7 +76,7 @@ impl NeoCamThread {
},
Err(_) => {
// Timeout
if missed_pings > 5 {
if missed_pings < 5 {
missed_pings += 1;
continue;
} else {
Expand Down

0 comments on commit 556e051

Please sign in to comment.