mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-07-01 01:15:16 -04:00
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:
parent
f85a6c5034
commit
ee7aa0d31e
@ -2327,6 +2327,7 @@ void Configuration::impl::handle_transceiver_update (TransceiverState const& sta
|
|||||||
// only follow rig on some information, ignore other stuff
|
// only follow rig on some information, ignore other stuff
|
||||||
cached_rig_state_.online (state.online ());
|
cached_rig_state_.online (state.online ());
|
||||||
cached_rig_state_.frequency (state.frequency ());
|
cached_rig_state_.frequency (state.frequency ());
|
||||||
|
cached_rig_state_.mode (state.mode ());
|
||||||
cached_rig_state_.split (state.split ());
|
cached_rig_state_.split (state.split ());
|
||||||
|
|
||||||
if (state.online ())
|
if (state.online ())
|
||||||
|
@ -209,6 +209,7 @@ void TransceiverBase::update_split (bool state)
|
|||||||
void TransceiverBase::update_mode (MODE m)
|
void TransceiverBase::update_mode (MODE m)
|
||||||
{
|
{
|
||||||
actual_.mode (m);
|
actual_.mode (m);
|
||||||
|
requested_.mode (m); // track rig changes
|
||||||
}
|
}
|
||||||
|
|
||||||
void TransceiverBase::update_PTT (bool state)
|
void TransceiverBase::update_PTT (bool state)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user