Fix rigctl -W and --twiddle_timeout

pull/425/head
Michael Black W9MDB 2020-10-22 16:04:53 -05:00
rodzic 1c379029b3
commit d4e1e91272
2 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -335,7 +335,7 @@ Set verbose mode, cumulative (see
below). below).
. .
.TP .TP
.BR \-X ", " \-\-twiddle = \fIseconds\fP .BR \-W ", " \-\-twiddle_timeout = \fIseconds\fP
Enables timeout when VFO twiddling is detected. Some functions will be ignored. Enables timeout when VFO twiddling is detected. Some functions will be ignored.
.IP .IP
Should only be needed when controlling software should be "paused" Should only be needed when controlling software should be "paused"

Wyświetl plik

@ -86,7 +86,7 @@
* NB: do NOT use -W since it's reserved by POSIX. * NB: do NOT use -W since it's reserved by POSIX.
* TODO: add an option to read from a file * TODO: add an option to read from a file
*/ */
#define SHORT_OPTIONS "m:r:p:d:P:D:s:c:T:t:C:X:lLuovhVZ" #define SHORT_OPTIONS "m:r:p:d:P:D:s:c:T:t:C:W:lLuovhVZ"
static struct option long_options[] = static struct option long_options[] =
{ {
{"model", 1, 0, 'm'}, {"model", 1, 0, 'm'},
@ -277,7 +277,6 @@ int main(int argc, char *argv[])
{ {
break; break;
} }
switch (c) switch (c)
{ {
case 'h': case 'h':