Track rig mode

I can't remember exactly why mode tracking was disabled but it doesn't
seem to be necessary  to do so. I am expecting  some fallout from this
change, when I discover why it was  necessary to ignore the rig mode I
will find a better way to do this.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7548 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2017-01-21 12:16:16 +00:00
parent f85a6c5034
commit ee7aa0d31e
2 changed files with 2 additions and 0 deletions

View File

@ -2327,6 +2327,7 @@ void Configuration::impl::handle_transceiver_update (TransceiverState const& sta
// only follow rig on some information, ignore other stuff
cached_rig_state_.online (state.online ());
cached_rig_state_.frequency (state.frequency ());
cached_rig_state_.mode (state.mode ());
cached_rig_state_.split (state.split ());
if (state.online ())

View File

@ -209,6 +209,7 @@ void TransceiverBase::update_split (bool state)
void TransceiverBase::update_mode (MODE m)
{
actual_.mode (m);
requested_.mode (m); // track rig changes
}
void TransceiverBase::update_PTT (bool state)