[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. e1c21605f4e45ed7ab983
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2021-01-22 14:58:20
|
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 e1c21605f4e45ed7ab98326e021c176c05e0e0ee (commit) via de3205e2b8ba14d6a6bcc8b81bb01bb3bedb754a (commit) via 1fe2efb315c966d35a5c561d675426381f6dfb18 (commit) from 85205abd458f55a0f8226847d9116314f948b3b2 (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 e1c21605f4e45ed7ab98326e021c176c05e0e0ee Author: Michael Black W9MDB <mdb...@ya...> Date: Fri Jan 22 08:57:53 2021 -0600 Restrict FTDX3000 and FTDX5000 to not set_freq on VFO while PTT_ON diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index aee81afa..81240f16 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -774,6 +774,13 @@ int newcat_set_freq(RIG *rig, vfo_t vfo, freq_t freq) target_vfo = 'A' == c ? '0' : '1'; + if(rig->state.cache.ptt == RIG_PTT_ON) // we have a few rigs that can't set TX VFO while PTT_ON + { // should be true whether we're on VFOA or VFOB but only restricting VFOB right now + // we return RIG_OK as we dont' want + if (is_ftdx3000 && target_vfo == 'B') return RIG_OK; + if (is_ftdx5000 && target_vfo == 'B') return RIG_OK; + } + if (RIG_MODEL_FT450 == caps->rig_model) { /* The FT450 only accepts F[A|B]nnnnnnnn; commands for the commit de3205e2b8ba14d6a6bcc8b81bb01bb3bedb754a Author: Michael Black W9MDB <mdb...@ya...> Date: Fri Jan 22 08:30:01 2021 -0600 Reduce debug level in newcat.c diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 6c77b680..aee81afa 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -9654,7 +9654,7 @@ int newcat_set_cmd_validate(RIG *rig) } else { - rig_debug(RIG_DEBUG_ERR, "%s: %s not implemented\n", __func__, priv->cmd_str); + rig_debug(RIG_DEBUG_TRACE, "%s: %s not implemented\n", __func__, priv->cmd_str); RETURNFUNC(-RIG_ENIMPL); } commit 1fe2efb315c966d35a5c561d675426381f6dfb18 Author: Michael Black W9MDB <mdb...@ya...> Date: Fri Jan 22 08:26:03 2021 -0600 Reduce a debug level in serial.c diff --git a/src/serial.c b/src/serial.c index 08c811a0..421e75ca 100644 --- a/src/serial.c +++ b/src/serial.c @@ -807,7 +807,7 @@ int ser_close(hamlib_port_t *p) } else { - rig_debug(RIG_DEBUG_WARN, "%s: no options for fd to restore\n", __func__); + rig_debug(RIG_DEBUG_TRACE, "%s: no options for fd to restore\n", __func__); } rc = CLOSE(p->fd); ----------------------------------------------------------------------- Summary of changes: rigs/yaesu/newcat.c | 9 ++++++++- src/serial.c | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |