Read hamlib_settings.json when rig is None to allow PTT only config

This commit is contained in:
Bill Somerville 2020-11-17 21:52:28 +00:00
parent a1808c99f7
commit e3bffc3ece
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -259,8 +259,6 @@ HamlibTransceiver::HamlibTransceiver (logger_type * logger,
// rig_->state.obj = this;
if (!is_dummy_)
{
//
// user defined Hamlib settings
//
@ -306,6 +304,8 @@ HamlibTransceiver::HamlibTransceiver (logger_type * logger,
}
}
if (!is_dummy_)
{
switch (rig_->caps->port_type)
{
case RIG_PORT_SERIAL: