Increased timeout to at least 1 minute
git-svn-id: https://bucket.mit.edu/svn/nilm/acquisition/ethstream@7433 ddd99763-3ecb-0310-9145-efcb8ce7c51f
This commit is contained in:
parent
a57c0c22c2
commit
5e7f4ac97e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user