kopia lustrzana https://github.com/Hamlib/Hamlib
rodzic
2622113d2f
commit
a8aba7c13b
|
@ -793,8 +793,8 @@ int HAMLIB_API serial_flush(hamlib_port_t *p)
|
||||||
while (len > 0);
|
while (len > 0);
|
||||||
|
|
||||||
p->timeout = timeout_save;
|
p->timeout = timeout_save;
|
||||||
//rig_debug(RIG_DEBUG_VERBOSE, "tcflush%s\n", "");
|
rig_debug(RIG_DEBUG_VERBOSE, "tcflush%s\n", "");
|
||||||
//tcflush(p->fd, TCIFLUSH);
|
tcflush(p->fd, TCIFLUSH); // we also do this flush https://github.com/Hamlib/Hamlib/issues/1241
|
||||||
return (RIG_OK);
|
return (RIG_OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue