checkpoint
authoradam <adam@megacz.com>
Mon, 11 Sep 2006 14:05:58 +0000 (15:05 +0100)
committeradam <adam@megacz.com>
Mon, 11 Sep 2006 14:05:58 +0000 (15:05 +0100)
src/edu/berkeley/obits/device/atmel/FtdiChip.java

index 4b8820a..86e88e5 100644 (file)
@@ -19,6 +19,7 @@ public class FtdiChip {
     }
 
     public synchronized int readPins() {
+        flush();
         byte[] b = new byte[1];
         example.ftdi_read_pins(context, b);
         return b[0];