Remove a, hopefully, unnecessary unconditional CAT frequency set

this frequency  set was  causing CAT command  rejections on  some Icom
rigs when  using WSPR  auto tune-up with  the rig's  built-in auto-ATU
anabled.    The  issue   relates  to   a  PTT-set,   tune,  PTT-reset,
set-frequency sequence where  the rig's ATU is still  tuning while the
PTT is reset.  Since this should  only happen in WSPR mode where split
operating is not used it should resolve the issue.
This commit is contained in:
Bill Somerville 2021-09-11 12:58:48 +01:00
parent d41c0bc432
commit c764a5305e
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F
1 changed files with 1 additions and 2 deletions

View File

@ -81,8 +81,7 @@ void TransceiverBase::set (TransceiverState const& s,
}
if (s.frequency () // ignore bogus zero frequencies
&& ((s.frequency () != requested_.frequency () // and QSY
|| (s.mode () != UNK && s.mode () != requested_.mode ())) // or mode change
|| ptt_off)) // or just returned to rx
|| (s.mode () != UNK && s.mode () != requested_.mode ())))) // or mode change
{
do_frequency (s.frequency (), s.mode (), ptt_off);
do_post_frequency (s.frequency (), s.mode ());