Repair defect in CAT PTT operation via OmniRig

PTT was  not releasing until  a second  action, leaving the  PTT state
inverted.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7031 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2016-08-13 23:34:03 +00:00
parent ab1ec900d9
commit caabf4d772

View File

@ -552,13 +552,8 @@ void OmniRigTransceiver::do_ptt (bool on)
new_state.ptt (on);
wrapped_->set (new_state, 0);
}
if (state ().ptt () != on)
{
update_PTT (on);
// no need for this as currently update_PTT() does it for us
// update_complete ();
}
}
update_PTT (on);
}
void OmniRigTransceiver::do_frequency (Frequency f, MODE m, bool /*no_ignore*/)