From 7bcc35ebc46f174ca7081e405926dbdf53257976 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Sat, 8 Jan 2022 07:49:13 -0600 Subject: [PATCH] Barrett 4050 add channel 9999 query during open --- rigs/barrett/4050.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/rigs/barrett/4050.c b/rigs/barrett/4050.c index 6f15a06d7..cd3b50f2e 100644 --- a/rigs/barrett/4050.c +++ b/rigs/barrett/4050.c @@ -87,9 +87,16 @@ static int barrett4050_open(RIG *rig) char *response; ENTERFUNC; barrett4050_get_info(rig); - retval = barrett_transaction(rig, "XC9999", 0, &response); + retval = barrett_transaction(rig, "IDC9999", 0, &response); if (retval == RIG_OK) + { + rig_debug(RIG_DEBUG_VERBOSE, "%s: channel 9999 info=%s\n", response); + } + + retval = barrett_transaction(rig, "XC9999", 0, &response); + + if (retval != RIG_OK) { rig_debug(RIG_DEBUG_ERR, "%s: result=%s\n", __func__, response); }