[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. e5b7a5442d15fba365e6d
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2020-12-18 18:46:08
|
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 e5b7a5442d15fba365e6dc760b332c7e36dcabbf (commit) from aa58442e18d6ad51dc3914f0ecef149c20c0a2bd (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 e5b7a5442d15fba365e6dc760b332c7e36dcabbf Author: Michael Black W9MDB <mdb...@ya...> Date: Fri Dec 18 12:41:25 2020 -0600 Fix gpredict behavior with cross band split Yaesu memory will be ignored for now when in split mode We may want to allow it when we allow for VFOA/B caching https://github.com/Hamlib/Hamlib/issues/470 diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index e92bca3c..fcc4654f 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -783,8 +783,10 @@ int newcat_set_freq(RIG *rig, vfo_t vfo, freq_t freq) // // Restore band memory if we can and band is changing -- we do it before we set the frequency + // And only when not in split mode if (newcat_valid_command(rig, "BS") - && newcat_band_index(freq) != newcat_band_index(rig->state.current_freq)) + && newcat_band_index(freq) != newcat_band_index(rig->state.current_freq) + && !rig->state.cache.split) { snprintf(priv->cmd_str, sizeof(priv->cmd_str), "BS%02d%c", newcat_band_index(freq), cat_term); ----------------------------------------------------------------------- Summary of changes: rigs/yaesu/newcat.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |