summaryrefslogtreecommitdiff
path: root/altosui/AltosSerial.java
diff options
context:
space:
mode:
Diffstat (limited to 'altosui/AltosSerial.java')
-rw-r--r--altosui/AltosSerial.java2
1 files changed, 1 insertions, 1 deletions
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());