[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. a0ee23b178f4a33dd35d6
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2021-01-17 16:47:26
|
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 a0ee23b178f4a33dd35d67669f56ede32c9d8a58 (commit) via 10bc7d50df70da3b7bb5191cf8573db2482dc3c7 (commit) from 66af5ea4c0f52ef99997afe60109270fed5cbd20 (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 a0ee23b178f4a33dd35d67669f56ede32c9d8a58 Author: Michael Black W9MDB <mdb...@ya...> Date: Sun Jan 17 10:46:42 2021 -0600 Fix VFO detection in new_set_cmd_validate diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 18157f96..0ea60efb 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -814,7 +814,7 @@ int newcat_set_freq(RIG *rig, vfo_t vfo, freq_t freq) // And only when not in split mode (note this check has been removed for testing) int changing; - if (vfo == RIG_VFO_A || vfo == RIG_VFO_MAIN) + if (rig->state.current_vfo == RIG_VFO_A || rig->state.current_vfo == RIG_VFO_MAIN) { if (rig->state.cache.freqMainA == 0) { @@ -6592,8 +6592,8 @@ ncboolean newcat_is_rig(RIG *rig, rig_model_t model) { ncboolean is_rig; - //a bit too verbose so TRACE level here - rig_debug(RIG_DEBUG_TRACE, "%s(%d):%s called\n", __FILE__, __LINE__, __func__); + //a bit too verbose so disable this unless needed + //rig_debug(RIG_DEBUG_TRACE, "%s(%d):%s called\n", __FILE__, __LINE__, __func__); is_rig = (model == rig->caps->rig_model) ? TRUE : FALSE; return is_rig; commit 10bc7d50df70da3b7bb5191cf8573db2482dc3c7 Author: Michael Black W9MDB <mdb...@ya...> Date: Sun Jan 17 10:16:53 2021 -0600 Add debug to prm80.c diff --git a/rigs/prm80/prm80.c b/rigs/prm80/prm80.c index 49dbfe77..5c69a462 100644 --- a/rigs/prm80/prm80.c +++ b/rigs/prm80/prm80.c @@ -371,6 +371,7 @@ int prm80_get_channel(RIG *rig, vfo_t vfo, channel_t *chan, int read_only) if (statebuf_len < 20) { + rig_debug(RIG_DEBUG_ERR, "%s: statebuf_len < 20, statebuf='%s'\n", __func__, statebuf); RETURNFUNC(-RIG_EPROTO); } ----------------------------------------------------------------------- Summary of changes: rigs/prm80/prm80.c | 1 + rigs/yaesu/newcat.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |