From: Keith Packard Date: Sat, 3 Apr 2010 06:05:40 +0000 (-0700) Subject: Report current gps nsat, not last locked nsat X-Git-Tag: debian/0.6+163+g01e524f~20 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=ebd49d4ec6b0b60c85b2de45cfe2e36add8fe9bf Report current gps nsat, not last locked nsat --- 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);