Skip to content

Commit 67c96c5

Browse files
committed
increase camerad readout timeout to work with slow CI VM
1 parent 46a3018 commit 67c96c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

camerad/archon_controller.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1958,7 +1958,7 @@ namespace Camera {
19581958
while ( this->archon.Bytes_ready() < (BLOCK_LEN+4) ) {
19591959
auto now = std::chrono::steady_clock::now(); // check the time again
19601960
std::chrono::duration<double> diff = now-start; // calculate the duration
1961-
if (diff.count() > 1) { // break while loop if duration > 1 second
1961+
if (diff.count() > 5) { // break while loop if duration > 5 seconds
19621962
logwrite(function, "timeout waiting for data from Archon");
19631963
error = ERROR;
19641964
break; // breaks out of while loop

0 commit comments

Comments
 (0)