Add flush to serial open

pull/97/head
Michael Black 2019-04-02 08:49:56 -05:00
rodzic c6f9e07711
commit 9570d6c669
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -194,6 +194,7 @@ int HAMLIB_API serial_open(hamlib_port_t *rp)
CLOSE(fd);
return err;
}
serial_flush(rp); // ensure nothing is there when we open
return RIG_OK;
}