1
0
mirror of http://www.pogo.org.uk/~mark/trx.git synced 2024-11-21 18:05:06 +01:00

Acknowledge channel argument

This commit is contained in:
Mark Hills 2012-07-21 16:40:18 +01:00
parent 2aa7a2da12
commit 6e79ca46c9

5
rx.c
View File

@ -153,11 +153,14 @@ int main(int argc, char *argv[])
for (;;) {
int c;
c = getopt(argc, argv, "d:h:j:m:p:v:");
c = getopt(argc, argv, "c:d:h:j:m:p:v:");
if (c == -1)
break;
switch (c) {
case 'c':
channels = atoi(optarg);
break;
case 'd':
device = optarg;
break;