projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31fd32c
)
altoslib: Initialize GPS data to MISSING for Monitor Idle mode
author
Keith Packard
<keithp@keithp.com>
Sat, 7 Feb 2015 07:50:49 +0000
(23:50 -0800)
committer
Keith Packard
<keithp@keithp.com>
Sat, 7 Feb 2015 07:50:49 +0000
(23:50 -0800)
Make sure any un-set values are flagged correctly for the Monitor Idle
UI by using the init() method.
Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosGPS.java
patch
|
blob
|
history
diff --git
a/altoslib/AltosGPS.java
b/altoslib/AltosGPS.java
index 285b5b45aca691e916ec000be19a4feff3f2a0b6..9d84e4b238fde4331999539fb8be9b1668dc8511 100644
(file)
--- a/
altoslib/AltosGPS.java
+++ b/
altoslib/AltosGPS.java
@@
-378,6
+378,7
@@
public class AltosGPS implements Cloneable, Serializable {
public AltosGPS (AltosLink link, AltosConfigData config_data) throws TimeoutException, InterruptedException {
boolean says_done = config_data.compare_version("1.0") >= 0;
+ init();
link.printf("g\n");
for (;;) {
String line = link.get_reply_no_dialog(5000);