From caabf4d772a77443cf2c9223026a1e67b1fcedeb Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Sat, 13 Aug 2016 23:34:03 +0000 Subject: [PATCH] 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 --- OmniRigTransceiver.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/OmniRigTransceiver.cpp b/OmniRigTransceiver.cpp index 38662d287..eec5840f1 100644 --- a/OmniRigTransceiver.cpp +++ b/OmniRigTransceiver.cpp @@ -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*/)