kopia lustrzana https://github.com/Hamlib/Hamlib
fix corner case in port_close()
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2755 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.2.10
rodzic
70d146f67e
commit
262134f97c
|
@ -143,7 +143,7 @@ int HAMLIB_API port_open(hamlib_port_t *p)
|
|||
*/
|
||||
int HAMLIB_API port_close(hamlib_port_t *p, rig_port_t port_type)
|
||||
{
|
||||
int ret;
|
||||
int ret = RIG_OK;
|
||||
|
||||
if (p->fd != -1) {
|
||||
switch (port_type) {
|
||||
|
|
Ładowanie…
Reference in New Issue