kopia lustrzana https://github.com/Hamlib/Hamlib
Replace magic number with define
rodzic
d6165f7411
commit
ead67ec170
|
@ -116,7 +116,7 @@ int main(int argc, char *argv[])
|
||||||
int retcode; /* generic return code from functions */
|
int retcode; /* generic return code from functions */
|
||||||
int exitcode;
|
int exitcode;
|
||||||
|
|
||||||
int verbose = 0;
|
int verbose = RIG_DEBUG_NONE;
|
||||||
int show_conf = 0;
|
int show_conf = 0;
|
||||||
int dump_caps_opt = 0;
|
int dump_caps_opt = 0;
|
||||||
|
|
||||||
|
|
|
@ -155,7 +155,7 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
int retcode; /* generic return code from functions */
|
int retcode; /* generic return code from functions */
|
||||||
|
|
||||||
int verbose = 0;
|
int verbose = RIG_DEBUG_NONE;
|
||||||
int show_conf = 0;
|
int show_conf = 0;
|
||||||
int dump_caps_opt = 0;
|
int dump_caps_opt = 0;
|
||||||
const char *amp_file = NULL;
|
const char *amp_file = NULL;
|
||||||
|
|
|
@ -203,7 +203,7 @@ int main(int argc, char *argv[])
|
||||||
int retcode; /* generic return code from functions */
|
int retcode; /* generic return code from functions */
|
||||||
int exitcode;
|
int exitcode;
|
||||||
|
|
||||||
int verbose = 0;
|
int verbose = RIG_DEBUG_NONE;
|
||||||
int show_conf = 0;
|
int show_conf = 0;
|
||||||
int dump_caps_opt = 0;
|
int dump_caps_opt = 0;
|
||||||
int ignore_rig_open_error = 0;
|
int ignore_rig_open_error = 0;
|
||||||
|
|
|
@ -95,7 +95,7 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
int retcode; /* generic return code from functions */
|
int retcode; /* generic return code from functions */
|
||||||
|
|
||||||
int verbose = 0;
|
int verbose = RIG_DEBUG_NONE;
|
||||||
#ifdef HAVE_XML2
|
#ifdef HAVE_XML2
|
||||||
int xml = 0;
|
int xml = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -76,7 +76,7 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
int retcode; /* generic return code from functions */
|
int retcode; /* generic return code from functions */
|
||||||
|
|
||||||
int verbose = 0;
|
int verbose = RIG_DEBUG_NONE;
|
||||||
const char *rig_file = NULL, *rot_file = NULL;
|
const char *rig_file = NULL, *rot_file = NULL;
|
||||||
int serial_rate = 0;
|
int serial_rate = 0;
|
||||||
int rot_serial_rate = 0;
|
int rot_serial_rate = 0;
|
||||||
|
|
|
@ -69,7 +69,7 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
int retcode; /* generic return code from functions */
|
int retcode; /* generic return code from functions */
|
||||||
|
|
||||||
int verbose = 0;
|
int verbose = RIG_DEBUG_NONE;
|
||||||
const char *rig_file = NULL, *ptt_file = NULL;
|
const char *rig_file = NULL, *ptt_file = NULL;
|
||||||
ptt_type_t ptt_type = RIG_PTT_NONE;
|
ptt_type_t ptt_type = RIG_PTT_NONE;
|
||||||
int serial_rate = 0;
|
int serial_rate = 0;
|
||||||
|
|
|
@ -118,7 +118,7 @@ int main(int argc, char *argv[])
|
||||||
int retcode; /* generic return code from functions */
|
int retcode; /* generic return code from functions */
|
||||||
int exitcode;
|
int exitcode;
|
||||||
|
|
||||||
int verbose = 0;
|
int verbose = RIG_DEBUG_NONE;
|
||||||
int show_conf = 0;
|
int show_conf = 0;
|
||||||
int dump_caps_opt = 0;
|
int dump_caps_opt = 0;
|
||||||
|
|
||||||
|
|
|
@ -152,7 +152,7 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
int retcode; /* generic return code from functions */
|
int retcode; /* generic return code from functions */
|
||||||
|
|
||||||
int verbose = 0;
|
int verbose = RIG_DEBUG_NONE;
|
||||||
int show_conf = 0;
|
int show_conf = 0;
|
||||||
int dump_caps_opt = 0;
|
int dump_caps_opt = 0;
|
||||||
const char *rot_file = NULL;
|
const char *rot_file = NULL;
|
||||||
|
|
Ładowanie…
Reference in New Issue