mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-04-11 09:06:17 +00:00
Allow cross-compilation from mingw-w64 using libusb/libusbx 1.0.18
This commit is contained in:
committed by
Philippe Teuwen
parent
c2504e0825
commit
5f71a79b56
@@ -113,7 +113,7 @@ uart_close(const serial_port sp)
|
||||
}
|
||||
|
||||
void
|
||||
uart_flush_input(const serial_port sp)
|
||||
uart_flush_input(const serial_port sp, bool wait)
|
||||
{
|
||||
PurgeComm(((struct serial_port_windows *) sp)->hPort, PURGE_RXABORT | PURGE_RXCLEAR);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user