summaryrefslogtreecommitdiff
path: root/ao-tools/altosui/AltosUI.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-07-31 10:07:38 -0700
committerKeith Packard <keithp@keithp.com>2010-07-31 10:10:18 -0700
commit88e0137a60d7a13ddb7781befa76650e13ad44ae (patch)
tree2ac9a9a77594aee0c80838fb4d5a50d76299b42f /ao-tools/altosui/AltosUI.java
parent1c3b2fe357d6acf28f48aeddd91693f10381be51 (diff)
altosui: Merge gps date and time classes into gps class
No reason to split out the date and time information from the other gps info. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/altosui/AltosUI.java')
-rw-r--r--ao-tools/altosui/AltosUI.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/ao-tools/altosui/AltosUI.java b/ao-tools/altosui/AltosUI.java
index 824e4b5b..fa5a9ade 100644
--- a/ao-tools/altosui/AltosUI.java
+++ b/ao-tools/altosui/AltosUI.java
@@ -310,13 +310,13 @@ public class AltosUI extends JFrame {
info_add_row(1, "Pad GPS alt", "%6.0f m", state.pad_alt);
}
info_add_row(1, "GPS date", "%04d-%02d-%02d",
- state.gps.gps_time.year,
- state.gps.gps_time.month,
- state.gps.gps_time.day);
+ state.gps.year,
+ state.gps.month,
+ state.gps.day);
info_add_row(1, "GPS time", " %02d:%02d:%02d",
- state.gps.gps_time.hour,
- state.gps.gps_time.minute,
- state.gps.gps_time.second);
+ state.gps.hour,
+ state.gps.minute,
+ state.gps.second);
int nsat_vis = 0;
int c;