X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=altosui%2FAltosSerial.java;h=6c80b66fbd46ec6d7401ac52162a2332bcb9a7a5;hb=9cdef76c1275b343099d0d01af82d7eadd36a410;hp=111bd77170fc5514107c4ef75f0ca050a84c4a9a;hpb=5b3f18b38d80aa041b971204bf7a94278bd9584a;p=fw%2Faltos diff --git a/altosui/AltosSerial.java b/altosui/AltosSerial.java index 111bd771..6c80b66f 100644 --- a/altosui/AltosSerial.java +++ b/altosui/AltosSerial.java @@ -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());