Make the HamlibTransceiver ready for a future Hamlib function (patch by Mike).

This commit is contained in:
Uwe Risse 2024-07-06 15:59:19 +02:00
parent 716027de6e
commit 9cec90e44e

View File

@ -619,6 +619,12 @@ int HamlibTransceiver::do_start ()
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));
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"));
// reset dynamic state