kopia lustrzana https://github.com/Hamlib/Hamlib
In newcat_open(), initialize rig_id in case any subsequent commands need it.
rodzic
9b2ba63b73
commit
a1cfb3804e
|
@ -341,6 +341,8 @@ int newcat_open(RIG *rig) {
|
||||||
last client left it on */
|
last client left it on */
|
||||||
newcat_set_trn(rig, RIG_TRN_OFF); /* ignore status in case it's
|
newcat_set_trn(rig, RIG_TRN_OFF); /* ignore status in case it's
|
||||||
not supported */
|
not supported */
|
||||||
|
/* Initialize rig_id in case any subsequent commands need it */
|
||||||
|
(void)newcat_get_rigid(rig);
|
||||||
return RIG_OK;
|
return RIG_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue