summaryrefslogtreecommitdiff
path: root/altosui/AltosLaunch.java
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2016-06-17 10:02:00 -0600
committerBdale Garbee <bdale@gag.com>2016-06-17 10:02:00 -0600
commit085336c45ce0577031a7af5de117a8b856160708 (patch)
tree13a145eab69e38f2658359fa8395e7257b3c3fb9 /altosui/AltosLaunch.java
parent50c9a54ac6b04458970eedfa6d3e0e25f41c765f (diff)
parent639e461ded29a48c155afea12171cbfc191ccfd7 (diff)
Merge branch 'branch-1.6' into debian
Diffstat (limited to 'altosui/AltosLaunch.java')
-rw-r--r--altosui/AltosLaunch.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/altosui/AltosLaunch.java b/altosui/AltosLaunch.java
index 503b0621..fb2cd883 100644
--- a/altosui/AltosLaunch.java
+++ b/altosui/AltosLaunch.java
@@ -20,7 +20,7 @@ package altosui;
import java.io.*;
import java.util.concurrent.*;
import java.awt.*;
-import org.altusmetrum.altosuilib_10.*;
+import org.altusmetrum.altosuilib_11.*;
public class AltosLaunch {
AltosDevice device;
@@ -91,7 +91,7 @@ public class AltosLaunch {
throw new TimeoutException();
if (get_string(line, "Rssi: ", status_name)) {
try {
- rssi = Altos.fromdec(status_name.get());
+ rssi = (int) Altos.fromdec(status_name.get());
} catch (NumberFormatException ne) {
}
break;
@@ -194,4 +194,4 @@ public class AltosLaunch {
device = in_device;
serial = new AltosSerial(device);
}
-} \ No newline at end of file
+}