From 3ac385ed05ae80ec5e7660042448617eb3888901 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Fri, 15 Apr 2022 13:18:38 -0500 Subject: [PATCH] Add some debug for rig_caps --- src/misc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/misc.c b/src/misc.c index 2b8c5b1d8..d8d997682 100644 --- a/src/misc.c +++ b/src/misc.c @@ -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: