From 5e7f4ac97e5532dd00ac841bbf021daaf0701f2e Mon Sep 17 00:00:00 2001 From: nilm Date: Tue, 14 Apr 2009 15:49:53 +0000 Subject: [PATCH] Increased timeout to at least 1 minute git-svn-id: https://bucket.mit.edu/svn/nilm/acquisition/ethstream@7433 ddd99763-3ecb-0310-9145-efcb8ce7c51f --- nerdjack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nerdjack.c b/nerdjack.c index 055d3f9..596bb97 100644 --- a/nerdjack.c +++ b/nerdjack.c @@ -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