mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-09-03 05:38:01 -04:00
Make the HamlibTransceiver ready for a future Hamlib function (patch by Mike).
This commit is contained in:
parent
716027de6e
commit
9cec90e44e
@ -619,6 +619,12 @@ int HamlibTransceiver::do_start ()
|
|||||||
CAT_TRACE ("starting: " << rig_get_caps_cptr (m_->model_, RIG_CAPS_MFG_NAME_CPTR)
|
CAT_TRACE ("starting: " << rig_get_caps_cptr (m_->model_, RIG_CAPS_MFG_NAME_CPTR)
|
||||||
<< ": " << rig_get_caps_cptr (m_->model_, RIG_CAPS_MODEL_NAME_CPTR));
|
<< ": " << rig_get_caps_cptr (m_->model_, RIG_CAPS_MODEL_NAME_CPTR));
|
||||||
|
|
||||||
|
token_t token = rig_token_lookup (m_->rig_.data (), "client");
|
||||||
|
if (RIG_CONF_END != token) // only set if valid for rig model
|
||||||
|
{
|
||||||
|
rig_set_conf (m_->rig_.data (), token, "WSJTX");
|
||||||
|
}
|
||||||
|
|
||||||
m_->error_check (rig_open (m_->rig_.data ()), tr ("opening connection to rig"));
|
m_->error_check (rig_open (m_->rig_.data ()), tr ("opening connection to rig"));
|
||||||
|
|
||||||
// reset dynamic state
|
// reset dynamic state
|
||||||
|
Loading…
x
Reference in New Issue
Block a user