1
0
mirror of http://www.pogo.org.uk/~mark/trx.git synced 2024-11-22 02:15:05 +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 (;;) { for (;;) {
int c; 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) if (c == -1)
break; break;
switch (c) { switch (c) {
case 'c':
channels = atoi(optarg);
break;
case 'd': case 'd':
device = optarg; device = optarg;
break; break;