Replace magic number with define

pull/1850/head
Daniele Forsi IU5HKX 2025-08-14 20:20:34 +02:00
rodzic d6165f7411
commit ead67ec170
8 zmienionych plików z 8 dodań i 8 usunięć

Wyświetl plik

@ -116,7 +116,7 @@ int main(int argc, char *argv[])
int retcode; /* generic return code from functions */
int exitcode;
int verbose = 0;
int verbose = RIG_DEBUG_NONE;
int show_conf = 0;
int dump_caps_opt = 0;

Wyświetl plik

@ -155,7 +155,7 @@ int main(int argc, char *argv[])
int retcode; /* generic return code from functions */
int verbose = 0;
int verbose = RIG_DEBUG_NONE;
int show_conf = 0;
int dump_caps_opt = 0;
const char *amp_file = NULL;

Wyświetl plik

@ -203,7 +203,7 @@ int main(int argc, char *argv[])
int retcode; /* generic return code from functions */
int exitcode;
int verbose = 0;
int verbose = RIG_DEBUG_NONE;
int show_conf = 0;
int dump_caps_opt = 0;
int ignore_rig_open_error = 0;

Wyświetl plik

@ -95,7 +95,7 @@ int main(int argc, char *argv[])
int retcode; /* generic return code from functions */
int verbose = 0;
int verbose = RIG_DEBUG_NONE;
#ifdef HAVE_XML2
int xml = 0;
#endif

Wyświetl plik

@ -76,7 +76,7 @@ int main(int argc, char *argv[])
int retcode; /* generic return code from functions */
int verbose = 0;
int verbose = RIG_DEBUG_NONE;
const char *rig_file = NULL, *rot_file = NULL;
int serial_rate = 0;
int rot_serial_rate = 0;

Wyświetl plik

@ -69,7 +69,7 @@ int main(int argc, char *argv[])
int retcode; /* generic return code from functions */
int verbose = 0;
int verbose = RIG_DEBUG_NONE;
const char *rig_file = NULL, *ptt_file = NULL;
ptt_type_t ptt_type = RIG_PTT_NONE;
int serial_rate = 0;

Wyświetl plik

@ -118,7 +118,7 @@ int main(int argc, char *argv[])
int retcode; /* generic return code from functions */
int exitcode;
int verbose = 0;
int verbose = RIG_DEBUG_NONE;
int show_conf = 0;
int dump_caps_opt = 0;

Wyświetl plik

@ -152,7 +152,7 @@ int main(int argc, char *argv[])
int retcode; /* generic return code from functions */
int verbose = 0;
int verbose = RIG_DEBUG_NONE;
int show_conf = 0;
int dump_caps_opt = 0;
const char *rot_file = NULL;