Add some debug for rig_caps

pull/1022/head
Mike Black W9MDB 2022-04-15 13:18:38 -05:00
rodzic 6846d164bf
commit 3ac385ed05
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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: