kopia lustrzana https://github.com/Hamlib/Hamlib
update comm_state when port_close is called
rodzic
d95bcccc94
commit
379caace7c
|
@ -604,6 +604,7 @@ int HAMLIB_API rig_open(RIG *rig)
|
|||
if (rs->comm_state)
|
||||
{
|
||||
port_close(&rs->rigport, rs->rigport.type.rig);
|
||||
rs->comm_state = 0;
|
||||
return -RIG_EINVAL;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue