From d207612d4d624d6b92b48bfce4009fea2c34045e Mon Sep 17 00:00:00 2001 From: mike wakerly <opensource@hoho.com> Date: Mon, 28 Oct 2013 17:20:47 -0700 Subject: [PATCH] Fix for botched merge 730ed711. --- .../com/hoho/android/usbserial/driver/UsbSerialDriver.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UsbSerialLibrary/src/com/hoho/android/usbserial/driver/UsbSerialDriver.java b/UsbSerialLibrary/src/com/hoho/android/usbserial/driver/UsbSerialDriver.java index 79a5edc..d70712d 100644 --- a/UsbSerialLibrary/src/com/hoho/android/usbserial/driver/UsbSerialDriver.java +++ b/UsbSerialLibrary/src/com/hoho/android/usbserial/driver/UsbSerialDriver.java @@ -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; }