|
@ -617,12 +617,12 @@ void iguana_helper(void *arg) |
|
|
if ( queue_size(&bundlesQ) > 1 ) |
|
|
if ( queue_size(&bundlesQ) > 1 ) |
|
|
allcurrent = 0; |
|
|
allcurrent = 0; |
|
|
if ( flag != 0 ) |
|
|
if ( flag != 0 ) |
|
|
usleep(polltimeout * 1000 + 1); |
|
|
usleep(polltimeout * 100 + 1); |
|
|
else if ( allcurrent > 0 ) |
|
|
else if ( allcurrent > 0 ) |
|
|
{ |
|
|
{ |
|
|
//printf("bundlesQ allcurrent\n");
|
|
|
//printf("bundlesQ allcurrent\n");
|
|
|
usleep(polltimeout * 100000); |
|
|
usleep(polltimeout * 100000); |
|
|
} else usleep(polltimeout * 50000); |
|
|
} else usleep(polltimeout * 5000); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|