From: Nate B. <n0...@us...> - 2012-01-28 01:16:57
|
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 ea0a9300a27c83fd2735d790211ae3aa39089b45 (commit) from 8fc10c6389b21782bf7d3c0ba0f31af75e906ea6 (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 ea0a9300a27c83fd2735d790211ae3aa39089b45 Author: Nate Bargmann <n0...@n0...> Date: Fri Jan 27 19:13:20 2012 -0600 Fix incorrect swap of main and subband in IC-910 Per tracker bug report: https://sourceforge.net/tracker/?func=detail&atid=108305&aid=3480533&group_id=8305 When the actual used frequency lies in the same band like the one you want to set, the main- and subband are swaped. Definitely not the wanted behyvior. -- from ArkturusMensk diff --git a/icom/ic910.c b/icom/ic910.c index 94b297c..b306ad4 100644 --- a/icom/ic910.c +++ b/icom/ic910.c @@ -169,7 +169,7 @@ static int ic910_set_freq(RIG* rig, vfo_t vfo, freq_t freq) if (retval!=RIG_OK) return retval; } - if (compareFrequencies(rig, freq, otherfreq)) + if (compareFrequencies(rig, freq, otherfreq) == 0) icom_swap_bands(rig); icom_set_vfo(rig, vfo); ----------------------------------------------------------------------- Summary of changes: icom/ic910.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |