kopia lustrzana https://github.com/Hamlib/Hamlib
Enable --show-conf for ampctl and ampctld
rodzic
57b7cd1860
commit
52d41236a7
|
@ -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
|
* \brief Executes cfunc on all the elements stored in the configuration
|
||||||
* parameters table.
|
* parameters table.
|
||||||
|
@ -534,7 +532,6 @@ int HAMLIB_API amp_token_foreach(AMP *amp,
|
||||||
|
|
||||||
return RIG_OK;
|
return RIG_OK;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -23,7 +23,6 @@ void never_used()
|
||||||
amp_ext_token_lookup();
|
amp_ext_token_lookup();
|
||||||
amp_probe_all();
|
amp_probe_all();
|
||||||
amp_set_powerstat();
|
amp_set_powerstat();
|
||||||
amp_token_foreach();
|
|
||||||
amp_unregister();
|
amp_unregister();
|
||||||
cm108_dcd_get();
|
cm108_dcd_get();
|
||||||
CtrlHandler();
|
CtrlHandler();
|
||||||
|
|
|
@ -320,8 +320,6 @@ int main(int argc, char *argv[])
|
||||||
my_amp->state.ampport_deprecated.parm.serial.rate = serial_rate;
|
my_amp->state.ampport_deprecated.parm.serial.rate = serial_rate;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* print out conf parameters
|
* 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);
|
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
|
* Print out capabilities, and exits immediately as we may be interested
|
||||||
* only in caps, and rig_open may fail.
|
* only in caps, and rig_open may fail.
|
||||||
|
|
|
@ -1493,7 +1493,6 @@ void usage_amp(FILE *fout)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#if 0
|
|
||||||
int print_conf_list(const struct confparams *cfp, rig_ptr_t data)
|
int print_conf_list(const struct confparams *cfp, rig_ptr_t data)
|
||||||
{
|
{
|
||||||
AMP *amp = (AMP *) 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 ! */
|
return 1; /* != 0, we want them all ! */
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
static int hash_model_list(const struct amp_caps *caps, void *data)
|
static int hash_model_list(const struct amp_caps *caps, void *data)
|
||||||
{
|
{
|
||||||
|
|
|
@ -345,8 +345,6 @@ int main(int argc, char *argv[])
|
||||||
my_amp->state.ampport.parm.serial.rate = serial_rate;
|
my_amp->state.ampport.parm.serial.rate = serial_rate;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* print out conf parameters
|
* 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);
|
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
|
* Print out conf parameters, and exits immediately as we may be
|
||||||
* interested only in only caps, and rig_open may fail.
|
* interested only in only caps, and rig_open may fail.
|
||||||
|
|
Ładowanie…
Reference in New Issue