kopia lustrzana https://github.com/Hamlib/Hamlib
Kenwood only run PS1 when ID command fails
rodzic
42871be196
commit
5579b210cb
|
@ -636,8 +636,11 @@ int kenwood_open(RIG *rig)
|
|||
|
||||
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
|
||||
|
||||
// Ensure rig is on
|
||||
rig_set_powerstat(rig, 1);
|
||||
err = kenwood_get_id(rig, id);
|
||||
if (err == -RIG_ETIMEOUT) {
|
||||
// Ensure rig is on
|
||||
rig_set_powerstat(rig, 1);
|
||||
}
|
||||
|
||||
|
||||
if (RIG_MODEL_TS590S == rig->caps->rig_model)
|
||||
|
|
Ładowanie…
Reference in New Issue