In newcat_open(), initialize rig_id in case any subsequent commands need it.

pull/44/head
Brian G. Lucas 2018-08-09 16:38:02 -05:00
rodzic 9b2ba63b73
commit a1cfb3804e
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -341,6 +341,8 @@ int newcat_open(RIG *rig) {
last client left it on */
newcat_set_trn(rig, RIG_TRN_OFF); /* ignore status in case it's
not supported */
/* Initialize rig_id in case any subsequent commands need it */
(void)newcat_get_rigid(rig);
return RIG_OK;
}