git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1434 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.1.4
Stéphane Fillod, F8CFE 2003-04-07 20:54:18 +00:00
rodzic 1c9265f1b6
commit 2772b035d0
1 zmienionych plików z 4 dodań i 5 usunięć

Wyświetl plik

@ -1,11 +1,11 @@
/* /*
* rotctl.c - (C) Stephane Fillod 2000-2002 * rotctl.c - (C) Stephane Fillod 2000-2003
* *
* This program test/control a rotator using Hamlib. * This program test/control a rotator using Hamlib.
* It takes commands in interactive mode as well as * It takes commands in interactive mode as well as
* from command line options. * from command line options.
* *
* $Id: rotctl.c,v 1.6 2003-02-27 03:47:47 n0nb Exp $ * $Id: rotctl.c,v 1.7 2003-04-07 20:54:18 fillods Exp $
* *
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -300,7 +300,7 @@ int main (int argc, char *argv[])
static int last_was_ret = 1; static int last_was_ret = 1;
if (interactive) { if (interactive) {
printf("\nRot command: "); printf("\nRotator command: ");
do { do {
scanf("%c", &cmd); scanf("%c", &cmd);
@ -321,7 +321,7 @@ int main (int argc, char *argv[])
if (cmd == 0x0a || cmd == 0x0d) { if (cmd == 0x0a || cmd == 0x0d) {
if (last_was_ret) { if (last_was_ret) {
printf("? for help, q to quit.\n"); printf("? for help, q to quit.\n");
printf("\nRot command: "); printf("\nRotator command: ");
continue; continue;
} }
last_was_ret = 1; last_was_ret = 1;
@ -487,7 +487,6 @@ static int print_conf_list(const struct confparams *cfp, rig_ptr_t data)
printf(", %s", cfp->u.c.combostr[i]); printf(", %s", cfp->u.c.combostr[i]);
printf("\n"); printf("\n");
break; break;
default:
} }
return 1; /* !=0, we want them all ! */ return 1; /* !=0, we want them all ! */