diff options
author | Keith Packard <keithp@keithp.com> | 2010-04-02 23:05:40 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-04-02 23:05:40 -0700 |
commit | ebd49d4ec6b0b60c85b2de45cfe2e36add8fe9bf (patch) | |
tree | e880acde6512918c38300b175c8c3771d5af91ec | |
parent | 3f9b66b307ee88172151e3bee58e50f5acbde109 (diff) |
Report current gps nsat, not last locked nsat
-rw-r--r-- | ao-tools/altosui/AltosUI.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ao-tools/altosui/AltosUI.java b/ao-tools/altosui/AltosUI.java index 599c5aec..2cf326fc 100644 --- a/ao-tools/altosui/AltosUI.java +++ b/ao-tools/altosui/AltosUI.java @@ -301,7 +301,7 @@ public class AltosUI extends JFrame { info_add_row(1, "GPS", " unlocked"); else info_add_row(1, "GPS", " missing"); - info_add_row(1, "Satellites", "%6d", state.gps.nsat); + info_add_row(1, "Satellites", "%6d", state.data.gps.nsat); info_add_deg(1, "Latitude", state.gps.lat, 'N', 'S'); info_add_deg(1, "Longitude", state.gps.lon, 'E', 'W'); info_add_row(1, "GPS altitude", "%6d", state.gps.alt); |