checkpoint
[slipway.git] / src / com / atmel / fpslic / ChipImpl.java
index 66557fa..f43ae48 100644 (file)
@@ -15,10 +15,16 @@ public class ChipImpl extends FtdiUart implements Chip {
         (1<<7);
 
     public ChipImpl() {
-        super(0x6666, 0x3133);
+        super(0x6666, 0x3133, 1500 * 1000);
         doReset();
     }
 
+    public void flush() {
+        try {
+            getOutputStream().flush();
+        } catch (Exception e) { throw new RuntimeException(e); }
+    }
+
     public void doReset() {
 
         dmask =