Enable --show-conf for ampctl and ampctld

pull/1250/head
Daniele Forsi IU5HKX 2023-03-16 19:59:51 +01:00
rodzic 57b7cd1860
commit 52d41236a7
5 zmienionych plików z 1 dodań i 14 usunięć

Wyświetl plik

@ -472,8 +472,6 @@ int frontamp_get_conf2(AMP *amp, token_t token, char *val, int val_len)
*/
#ifdef XXREMOVEDXXC
// Not referenced anywhere
/**
* \brief Executes cfunc on all the elements stored in the configuration
* parameters table.
@ -534,7 +532,6 @@ int HAMLIB_API amp_token_foreach(AMP *amp,
return RIG_OK;
}
#endif
/**

Wyświetl plik

@ -23,7 +23,6 @@ void never_used()
amp_ext_token_lookup();
amp_probe_all();
amp_set_powerstat();
amp_token_foreach();
amp_unregister();
cm108_dcd_get();
CtrlHandler();

Wyświetl plik

@ -320,8 +320,6 @@ int main(int argc, char *argv[])
my_amp->state.ampport_deprecated.parm.serial.rate = serial_rate;
}
#if 0
/*
* print out conf parameters
*/
@ -330,8 +328,6 @@ int main(int argc, char *argv[])
amp_token_foreach(my_amp, print_conf_list, (rig_ptr_t)my_amp);
}
#endif
/*
* Print out capabilities, and exits immediately as we may be interested
* only in caps, and rig_open may fail.

Wyświetl plik

@ -1493,7 +1493,6 @@ void usage_amp(FILE *fout)
}
#if 0
int print_conf_list(const struct confparams *cfp, rig_ptr_t data)
{
AMP *amp = (AMP *) data;
@ -1538,7 +1537,7 @@ int print_conf_list(const struct confparams *cfp, rig_ptr_t data)
return 1; /* != 0, we want them all ! */
}
#endif
static int hash_model_list(const struct amp_caps *caps, void *data)
{

Wyświetl plik

@ -345,8 +345,6 @@ int main(int argc, char *argv[])
my_amp->state.ampport.parm.serial.rate = serial_rate;
}
#if 0
/*
* print out conf parameters
*/
@ -355,8 +353,6 @@ int main(int argc, char *argv[])
amp_token_foreach(my_amp, print_conf_list, (rig_ptr_t)my_amp);
}
#endif
/*
* Print out conf parameters, and exits immediately as we may be
* interested only in only caps, and rig_open may fail.