projects
/
slipway.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b85fcf8
)
checkpoint
author
adam
<adam@megacz.com>
Wed, 20 Sep 2006 08:52:50 +0000
(09:52 +0100)
committer
adam
<adam@megacz.com>
Wed, 20 Sep 2006 08:52:50 +0000
(09:52 +0100)
src/com/ftdi/usb/FtdiUart.java
patch
|
blob
|
history
diff --git
a/src/com/ftdi/usb/FtdiUart.java
b/src/com/ftdi/usb/FtdiUart.java
index
9e7819c
..
a07004a
100644
(file)
--- a/
src/com/ftdi/usb/FtdiUart.java
+++ b/
src/com/ftdi/usb/FtdiUart.java
@@
-18,7
+18,11
@@
public class FtdiUart {
}
public synchronized int readPins() {
- flush();
+ try {
+ getOutputStream().flush();
+ } catch (IOException e) {
+ throw new RuntimeException(e);
+ }
byte[] b = new byte[1];
example.ftdi_read_pins(context, b);
return b[0];