kopia lustrzana https://github.com/Hamlib/Hamlib
Fix cppcheck warnings in rigctl.c
rodzic
f7399eb8df
commit
e56db8c985
|
@ -151,7 +151,7 @@ int main(int argc, char *argv[])
|
|||
int serial_rate = 0;
|
||||
char *civaddr = NULL; /* NULL means no need to set conf */
|
||||
char conf_parms[MAXCONFLEN] = "";
|
||||
int interactive = 1; /* if no cmd on command line, switch to interactive */
|
||||
int interactive; /* if no cmd on command line, switch to interactive */
|
||||
int prompt = 1; /* Print prompt in rigctl */
|
||||
int vfo_mode = 0; /* vfo_mode = 0 means target VFO is 'currVFO' */
|
||||
char send_cmd_term = '\r'; /* send_cmd termination char */
|
||||
|
@ -432,6 +432,9 @@ int main(int argc, char *argv[])
|
|||
{
|
||||
interactive = 0;
|
||||
}
|
||||
else {
|
||||
interactive = 1;
|
||||
}
|
||||
|
||||
my_rig = rig_init(my_model);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue