kopia lustrzana https://github.com/Hamlib/Hamlib
Add flush to serial open
rodzic
c6f9e07711
commit
9570d6c669
|
@ -194,6 +194,7 @@ int HAMLIB_API serial_open(hamlib_port_t *rp)
|
||||||
CLOSE(fd);
|
CLOSE(fd);
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
serial_flush(rp); // ensure nothing is there when we open
|
||||||
|
|
||||||
return RIG_OK;
|
return RIG_OK;
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue