mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-23 20:58:55 -05:00
Allow for rigs that cannot have their VFOs selected
Merged from wsjtx-1.4 branch. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5133 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
8f7f6b43b9
commit
86fef4c4b8
@ -266,7 +266,8 @@ void HamlibTransceiver::do_start ()
|
||||
|
||||
error_check (rig_open (rig_.data ()), tr ("opening connection to rig"));
|
||||
|
||||
if (!is_dummy_)
|
||||
if (!is_dummy_ && rig_->caps->set_split_vfo) // if split is possible
|
||||
// do some extra setup
|
||||
{
|
||||
freq_t f1;
|
||||
freq_t f2;
|
||||
@ -442,7 +443,7 @@ auto HamlibTransceiver::get_vfos () const -> std::tuple<vfo_t, vfo_t>
|
||||
|
||||
reversed_ = RIG_VFO_B == v;
|
||||
}
|
||||
else if (rig_->caps->set_vfo)
|
||||
else if (rig_->caps->set_vfo && rig_->caps->set_split_vfo)
|
||||
{
|
||||
// use VFO A/MAIN for main frequency and B/SUB for Tx
|
||||
// frequency if split since these type of radios can only
|
||||
|
Loading…
Reference in New Issue
Block a user