kopia lustrzana https://github.com/Hamlib/Hamlib
683cc7eedd
Under Windows, the Icom transceive messages do not get flushed properly. Returned data is cached in windows serial buffer and are received by hamlib as response to initial request. Lada suggested to add PURGE_RXCLEAR flag to tcflush (lib/termios.c), actually clearing and making the buffer empty. Look at http://msdn.microsoft.com/en-us/library/windows/desktop/aa363428%28v=vs.85%29.aspx PURGE_RXABORT only terminates overlapped reads but not input buffer. Nate suggested to add the PURGE_TXCLEAR flag to the output queue as well. Signed-off-by: Ladislav Vaiz <spam@nagano.cz> Signed-off-by: Nate Bargmann <n0nb@n0nb.us> |
||
---|---|---|
.. | ||
Makefile.am | ||
dummy.c | ||
getaddrinfo.c | ||
getopt.c | ||
getopt.h | ||
getopt_long.c | ||
gettimeofday.c | ||
termios.c | ||
usleep.c | ||
win32termios.h |