Commit 5e7f4ac9 by nilm

Increased timeout to at least 1 minute


git-svn-id: https://bucket.mit.edu/svn/nilm/acquisition/ethstream@7433 ddd99763-3ecb-0310-9145-efcb8ce7c51f
parent a57c0c22
Showing with 2 additions and 2 deletions
......@@ -243,10 +243,10 @@ nerd_data_stream (int data_fd, int numChannels, int *channel_list,
int numgroupsProcessed = 0;
long double volts;
//The timeout should be the expected time plus two seconds
//The timeout should be the expected time plus 60 seconds
//This permits slower speeds to work properly
unsigned int expectedtimeout =
(period * NERDJACK_NUM_SAMPLES / NERDJACK_CLOCK_RATE) + 2;
(period * NERDJACK_NUM_SAMPLES / NERDJACK_CLOCK_RATE) + 60;
//Check to see if we're trying to resume
//Don't blow away linesleft in that case
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment