mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-04-11 05:48:33 -04:00
Remove RIG_TARGETABLE_PURE since it is no longer needed, and will not be supported anymore with new Hamlib versions.
This commit is contained in:
parent
c65ebb16d5
commit
ea8737e9f1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user