1
0
mirror of https://github.com/mik3y/usb-serial-for-android synced 2025-06-07 16:06:10 +00:00

Fix for botched merge 730ed711.

This commit is contained in:
mike wakerly 2013-10-28 17:20:47 -07:00
parent d272021034
commit d207612d4d

View File

@ -196,7 +196,7 @@ public interface UsbSerialDriver {
* @throws IOException if an error occurred during writing
*/
public void setRTS(boolean value) throws IOException;
/**
* Flush non-transmitted output data and / or non-read input data
* @param flushRX {@code true} to flush non-transmitted output data
@ -205,6 +205,6 @@ public interface UsbSerialDriver {
* {@code false} if the operation is not supported by the driver or device
* @throws IOException if an error occurred during flush
*/
public boolean flush(boolean flushRX, boolean flushTX) throws IOException;
public boolean purgeHwBuffers(boolean flushRX, boolean flushTX) throws IOException;
}