projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altosui: remove debug printf
[fw/altos]
/
ao-tools
/
altosui
/
AltosGPS.java
diff --git
a/ao-tools/altosui/AltosGPS.java
b/ao-tools/altosui/AltosGPS.java
index c3b368e26b47ce022f5e34068bf227e49d3bb7e1..f8eb5f4844150024244f3ef08211db8f75c62d9d 100644
(file)
--- a/
ao-tools/altosui/AltosGPS.java
+++ b/
ao-tools/altosui/AltosGPS.java
@@
-90,6
+90,9
@@
public class AltosGPS {
gps_connected = true;
gps_time = new AltosGPSTime();
i++;
gps_connected = true;
gps_time = new AltosGPSTime();
i++;
+ } else if ((words[i]).equals("not-connected")) {
+ gps_time = new AltosGPSTime();
+ i++;
} else if (words.length >= 40) {
gps_locked = true;
gps_connected = true;
} else if (words.length >= 40) {
gps_locked = true;
gps_connected = true;
@@
-106,6
+109,7
@@
public class AltosGPS {
v_error = AltosParse.parse_int(AltosParse.strip_suffix(words[i++], "(verr)"));
} else {
gps_time = new AltosGPSTime();
v_error = AltosParse.parse_int(AltosParse.strip_suffix(words[i++], "(verr)"));
} else {
gps_time = new AltosGPSTime();
+ i++;
}
AltosParse.word(words[i++], "SAT");
int tracking_channels = 0;
}
AltosParse.word(words[i++], "SAT");
int tracking_channels = 0;