We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46a3018 commit 67c96c5Copy full SHA for 67c96c5
1 file changed
camerad/archon_controller.cpp
@@ -1958,7 +1958,7 @@ namespace Camera {
1958
while ( this->archon.Bytes_ready() < (BLOCK_LEN+4) ) {
1959
auto now = std::chrono::steady_clock::now(); // check the time again
1960
std::chrono::duration<double> diff = now-start; // calculate the duration
1961
- if (diff.count() > 1) { // break while loop if duration > 1 second
+ if (diff.count() > 5) { // break while loop if duration > 5 seconds
1962
logwrite(function, "timeout waiting for data from Archon");
1963
error = ERROR;
1964
break; // breaks out of while loop
0 commit comments