From ea8737e9f1bcd975ec9446fdccb888cf02d9a09d Mon Sep 17 00:00:00 2001 From: Uwe Risse Date: Fri, 29 Sep 2023 14:57:53 +0200 Subject: [PATCH] Remove RIG_TARGETABLE_PURE since it is no longer needed, and will not be supported anymore with new Hamlib versions. --- Transceiver/HamlibTransceiver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Transceiver/HamlibTransceiver.cpp b/Transceiver/HamlibTransceiver.cpp index 12d420e32..699222165 100644 --- a/Transceiver/HamlibTransceiver.cpp +++ b/Transceiver/HamlibTransceiver.cpp @@ -760,7 +760,7 @@ int HamlibTransceiver::do_start () m_->reversed_ = RIG_VFO_B == v; - if (m_->mode_query_works_ && !(rig_get_caps_int (m_->model_, RIG_CAPS_TARGETABLE_VFO) & (RIG_TARGETABLE_MODE | RIG_TARGETABLE_PURE))) + if (m_->mode_query_works_ && !(rig_get_caps_int (m_->model_, RIG_CAPS_TARGETABLE_VFO) & RIG_TARGETABLE_MODE)) { if (RIG_OK == rig_get_mode (m_->rig_.data (), RIG_VFO_CURR, &m, &w)) { @@ -1147,7 +1147,7 @@ void HamlibTransceiver::do_poll () if ((WSJT_RIG_NONE_CAN_SPLIT || !m_->is_dummy_) && state ().split () - && (rig_get_caps_int (m_->model_, RIG_CAPS_TARGETABLE_VFO) & (RIG_TARGETABLE_FREQ | RIG_TARGETABLE_PURE)) + && (rig_get_caps_int (m_->model_, RIG_CAPS_TARGETABLE_VFO) & RIG_TARGETABLE_FREQ) && !m_->one_VFO_) { // only read "other" VFO if in split, this allows rigs like