projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into branch-1.6
[fw/altos]
/
altosui
/
AltosLaunch.java
diff --git
a/altosui/AltosLaunch.java
b/altosui/AltosLaunch.java
index 67512cefb0947bf82ced6561e9f6fcb6d19aeafe..fb2cd883fa97f37d9476e77c76c3fa6cbb0dd693 100644
(file)
--- a/
altosui/AltosLaunch.java
+++ b/
altosui/AltosLaunch.java
@@
-15,17
+15,12
@@
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-package
AltosUI
;
+package
altosui
;
import java.io.*;
import java.util.concurrent.*;
import java.awt.*;
import java.io.*;
import java.util.concurrent.*;
import java.awt.*;
-import java.awt.event.*;
-import javax.swing.*;
-import javax.swing.filechooser.FileNameExtensionFilter;
-import javax.swing.table.*;
-import javax.swing.event.*;
-import org.altusmetrum.AltosLib.*;
+import org.altusmetrum.altosuilib_11.*;
public class AltosLaunch {
AltosDevice device;
public class AltosLaunch {
AltosDevice device;
@@
-96,7
+91,7
@@
public class AltosLaunch {
throw new TimeoutException();
if (get_string(line, "Rssi: ", status_name)) {
try {
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;
} catch (NumberFormatException ne) {
}
break;
@@
-199,4
+194,4
@@
public class AltosLaunch {
device = in_device;
serial = new AltosSerial(device);
}
device = in_device;
serial = new AltosSerial(device);
}
-}
\ No newline at end of file
+}