Ignore OmniRig frequency changes while transmitting on single VFO reporting rigs

Many rigs  with A/B VFO  arrangements and single VFO  reporting report
the split  Tx VFO frequency  when transmitting. This  gets complicated
when  using VOX  as we  do not  know  exactly when  the rig  is in  Tx
mode. This change ignores frequency changes from OmniRig for this sort
of rig while  transmitting to try and improve rig  tracking. It is not
perfect but seems better than before.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6688 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2016-05-22 14:56:26 +00:00
parent 5cf2d5ef69
commit b60b3c966c
1 changed files with 3 additions and 1 deletions

View File

@ -406,9 +406,11 @@ void OmniRigTransceiver::handle_params_change (int rig_number, int params)
{
update_other_frequency (rig_->FreqB ());
}
need_frequency = false;
}
}
if (need_frequency && (readable_params_ & OmniRig::PM_FREQ))
if (need_frequency && (readable_params_ & OmniRig::PM_FREQ)
&& !state ().ptt ())
{
update_rx_frequency (rig_->Freq ());
}