diff options
| author | Keith Packard <keithp@keithp.com> | 2010-04-02 22:47:40 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2010-04-02 22:47:40 -0700 |
| commit | 9cc48698ec14c34d437baad7b6540edc31e9741c (patch) | |
| tree | 9edbdfef62c74f40d4d4ef3bd0d1e96434923ebd /ao-tools/altosui/AltosGPS.java | |
| parent | 6d523ee4dad3b9890d3cf05852459101fe7e26ea (diff) | |
Fix state updates
Diffstat (limited to 'ao-tools/altosui/AltosGPS.java')
| -rw-r--r-- | ao-tools/altosui/AltosGPS.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ao-tools/altosui/AltosGPS.java b/ao-tools/altosui/AltosGPS.java index d242ad57..92a17018 100644 --- a/ao-tools/altosui/AltosGPS.java +++ b/ao-tools/altosui/AltosGPS.java @@ -111,6 +111,7 @@ public class AltosGPS { int tracking_channels = AltosParse.parse_int(words[i++]); cc_gps_sat = new AltosGPS.AltosGPSSat[tracking_channels]; for (int chan = 0; chan < tracking_channels; chan++) { + cc_gps_sat[chan] = new AltosGPS.AltosGPSSat(); cc_gps_sat[chan].svid = AltosParse.parse_int(words[i++]); cc_gps_sat[chan].c_n0 = AltosParse.parse_int(words[i++]); } |
