Rolled back to the original csdr flowcontrol. The new one made some segmentation faults.
This commit is contained in:
parent
277075b397
commit
26d10e6df8
1 changed files with 4 additions and 3 deletions
7
csdr.c
7
csdr.c
|
@ -1402,7 +1402,7 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
}
|
||||
#endif
|
||||
/*
|
||||
|
||||
if(!strcmp(argv[1],"flowcontrol"))
|
||||
{
|
||||
if(argc<=3) return badsyntax("need required parameters (data_rate, reads_per_seconds)");
|
||||
|
@ -1424,9 +1424,9 @@ int main(int argc, char *argv[])
|
|||
usleep(flowcontrol_sleep);
|
||||
TRY_YIELD;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
|
||||
#if 0
|
||||
if(!strcmp(argv[1],"flowcontrol"))
|
||||
{
|
||||
if(argc<=3) return badsyntax("need required parameters (data_rate, reads_per_seconds)");
|
||||
|
@ -1525,6 +1525,7 @@ int main(int argc, char *argv[])
|
|||
TRY_YIELD;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if(!strcmp(argv[1],"through"))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue