diff options
| author | Keith Packard <keithp@keithp.com> | 2010-07-28 11:20:22 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2010-07-28 11:20:22 -0700 |
| commit | 172a2817dde6718724f2b5fad5a7761801446fa0 (patch) | |
| tree | 880efde60fc468f1046307470141c773856399bd /ao-tools/altosui/AltosGPS.java | |
| parent | f2a006fd98045066bdf429cc142d033e9feb0a8f (diff) | |
| parent | 81bf2042ca39eb106b789e5a08647c3114669358 (diff) | |
Merge branch 'macos'
Diffstat (limited to 'ao-tools/altosui/AltosGPS.java')
| -rw-r--r-- | ao-tools/altosui/AltosGPS.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ao-tools/altosui/AltosGPS.java b/ao-tools/altosui/AltosGPS.java index c3b368e2..f8eb5f48 100644 --- 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++; + } else if ((words[i]).equals("not-connected")) { + gps_time = new AltosGPSTime(); + i++; } 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(); + i++; } AltosParse.word(words[i++], "SAT"); int tracking_channels = 0; |
