altos: Add delays to bt startup sequence
[fw/altos] / altosui / AltosSerial.java
index 111bd77170fc5514107c4ef75f0ca050a84c4a9a..6c80b66fbd46ec6d7401ac52162a2332bcb9a7a5 100644 (file)
@@ -304,7 +304,7 @@ public class AltosSerial implements Runnable {
                                throw new AltosSerialInUseException(device);
                        devices_opened.add(device.getPath());
                }
-               altos = libaltos.altos_open(device);
+               altos = device.open();
                if (altos == null) {
                        close();
                        throw new FileNotFoundException(device.toShortString());