projects
/
slipway.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
29bb084
)
checkpoint
author
adam
<adam@megacz.com>
Mon, 11 Sep 2006 14:05:58 +0000
(15:05 +0100)
committer
adam
<adam@megacz.com>
Mon, 11 Sep 2006 14:05:58 +0000
(15:05 +0100)
src/edu/berkeley/obits/device/atmel/FtdiChip.java
patch
|
blob
|
history
diff --git
a/src/edu/berkeley/obits/device/atmel/FtdiChip.java
b/src/edu/berkeley/obits/device/atmel/FtdiChip.java
index
4b8820a
..
86e88e5
100644
(file)
--- a/
src/edu/berkeley/obits/device/atmel/FtdiChip.java
+++ b/
src/edu/berkeley/obits/device/atmel/FtdiChip.java
@@
-19,6
+19,7
@@
public class FtdiChip {
}
public synchronized int readPins() {
}
public synchronized int readPins() {
+ flush();
byte[] b = new byte[1];
example.ftdi_read_pins(context, b);
return b[0];
byte[] b = new byte[1];
example.ftdi_read_pins(context, b);
return b[0];