kopia lustrzana https://github.com/Hamlib/Hamlib
Add some debug for rig_caps
rodzic
6846d164bf
commit
3ac385ed05
|
@ -2451,6 +2451,7 @@ long long HAMLIB_API rig_get_caps_int(rig_model_t rig_model,
|
|||
enum rig_caps_int_e rig_caps)
|
||||
{
|
||||
const struct rig_caps *caps = rig_get_caps(rig_model);
|
||||
rig_debug(RIG_DEBUG_TRACE, "%s: getting rig_caps=%u\n", __func__, rig_caps);
|
||||
|
||||
switch (rig_caps)
|
||||
{
|
||||
|
@ -2461,6 +2462,7 @@ long long HAMLIB_API rig_get_caps_int(rig_model_t rig_model,
|
|||
return caps->rig_model;
|
||||
|
||||
case RIG_CAPS_PTT_TYPE:
|
||||
rig_debug(RIG_DEBUG_TRACE, "%s: return %u\n", __func__, caps->ptt_type);
|
||||
return caps->ptt_type;
|
||||
|
||||
case RIG_CAPS_PORT_TYPE:
|
||||
|
|
Ładowanie…
Reference in New Issue