[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. ab7d998e380ca8a072f26
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2020-06-25 13:04:17
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Hamlib -- Ham radio control libraries". The branch, master has been updated via ab7d998e380ca8a072f26225e0ec0bb7e4a5e6a0 (commit) via 720c123be05a919d2b795e384e873d2dcb78b961 (commit) from bd1085af20e944fedc1a0a25bf8e1a0a523f5f30 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit ab7d998e380ca8a072f26225e0ec0bb7e4a5e6a0 Author: Michael Black W9MDB <mdb...@ya...> Date: Thu Jun 25 08:03:59 2020 -0500 Undo FT920 RIG_PTT_RIG_MICDATA change diff --git a/rigs/yaesu/ft920.c b/rigs/yaesu/ft920.c index 58d9b74d..b721f1d8 100644 --- a/rigs/yaesu/ft920.c +++ b/rigs/yaesu/ft920.c @@ -151,11 +151,11 @@ const struct rig_caps ft920_caps = RIG_MODEL(RIG_MODEL_FT920), .model_name = "FT-920", .mfg_name = "Yaesu", - .version = "20200624.0", /* YYYYMMDD */ + .version = "20100823.0", /* YYYYMMDD */ .copyright = "LGPL", .status = RIG_STATUS_STABLE, .rig_type = RIG_TYPE_TRANSCEIVER, - .ptt_type = RIG_PTT_RIG_MICDATA, + .ptt_type = RIG_PTT_RIG, .dcd_type = RIG_DCD_NONE, .port_type = RIG_PORT_SERIAL, .serial_rate_min = 4800, commit 720c123be05a919d2b795e384e873d2dcb78b961 Author: Michael Black W9MDB <mdb...@ya...> Date: Thu Jun 25 05:54:06 2020 -0500 Add some debug to rig.c diff --git a/src/rig.c b/src/rig.c index 257a3205..e6563cdb 100644 --- a/src/rig.c +++ b/src/rig.c @@ -2030,6 +2030,7 @@ int HAMLIB_API rig_get_vfo(RIG *rig, vfo_t *vfo) if (CHECK_RIG_ARG(rig) || !vfo) { + rig_debug(RIG_DEBUG_ERR, "%s: no rig and/or vfo? rig=%p, vfo=%p\n", __func__, rig, vfo); return -RIG_EINVAL; } @@ -2037,6 +2038,7 @@ int HAMLIB_API rig_get_vfo(RIG *rig, vfo_t *vfo) if (caps->get_vfo == NULL) { + rig_debug(RIG_DEBUG_ERR, "%s: no get_vfo\n", __func__); return -RIG_ENAVAIL; } @@ -2067,6 +2069,11 @@ int HAMLIB_API rig_get_vfo(RIG *rig, vfo_t *vfo) cache_ms = elapsed_ms(&rig->state.cache.time_vfo, ELAPSED_INVALIDATE); } + if (retcode != RIG_OK) + { + rig_debug(RIG_DEBUG_ERR, "%s: returning %d(%s)\n", __func__, retcode,rigerror(retcode)); + } + return retcode; } ----------------------------------------------------------------------- Summary of changes: rigs/yaesu/ft920.c | 4 ++-- src/rig.c | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |