diff options
| author | tony mancill <tmancill@debian.org> | 2024-01-01 11:39:59 -0800 |
|---|---|---|
| committer | tony mancill <tmancill@debian.org> | 2024-01-01 11:39:59 -0800 |
| commit | e90673af26fd12c1685c5528f1b4cfdd433553c6 (patch) | |
| tree | e6f7bc67b3035c74b28c7e90cffe8feff73704a7 /Transceiver/HamlibTransceiver.cpp | |
| parent | 94e13d3187f9ec4e4c7f1fdaf989c80a87b8aae7 (diff) | |
| parent | ffea9660ba79a513401639a2f5d90e2fdc190fb8 (diff) | |
Update upstream source from tag 'upstream/2.7.0_rc3+repack'
Update to upstream version '2.7.0~rc3+repack'
with Debian dir 9101bca1c16d979d1851d72d1d02e5b871ce863d
Diffstat (limited to 'Transceiver/HamlibTransceiver.cpp')
| -rwxr-xr-x | Transceiver/HamlibTransceiver.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Transceiver/HamlibTransceiver.cpp b/Transceiver/HamlibTransceiver.cpp index 4438e4b0..6d36dae3 100755 --- 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))
{
@@ -911,9 +911,9 @@ void HamlibTransceiver::do_frequency (Frequency f, MODE m, bool no_ignore) // to frequency such as the TS-2000 auto mode setting
CAT_TRACE ("rig_set_mode mode=" << rig_strrmode (new_mode));
m_->error_check (rig_set_mode (m_->rig_.data (), target_vfo, new_mode, RIG_PASSBAND_NOCHANGE), tr ("setting current VFO mode"));
- // set mode on VFOB too if we are in split
- if (state ().split()) rig_set_mode (m_->rig_.data (), RIG_VFO_B, new_mode, RIG_PASSBAND_NOCHANGE), tr ("setting VFOB mode");
}
+ // set mode on VFOB too if we are in split
+ if (state ().split()) rig_set_mode (m_->rig_.data (), RIG_VFO_B, new_mode, RIG_PASSBAND_NOCHANGE), tr ("setting VFOB mode");
update_mode (m);
}
}
@@ -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
|
