Added one second sleep in code to let nerdjack recover from previous run

git-svn-id: https://bucket.mit.edu/svn/nilm/acquisition/ethstream@7274 ddd99763-3ecb-0310-9145-efcb8ce7c51f
This commit is contained in:
zacharyc 2009-03-12 21:50:37 +00:00
parent 679b4ef64f
commit 1a2ed51d0c

View File

@ -363,6 +363,8 @@ int nerdDoStream(const char *address, int *channel_list, int channel_count, int
char command[14];
static unsigned short currentcount = 0;
usleep(1000000);
if(first_call) {
if (nerd_generate_command(command, channel_list, channel_count, precision, period) < 0) {
info("Failed to create configuration command\n");