summaryrefslogtreecommitdiff
path: root/ao-tools/lib/cc.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-11-20 11:56:48 -0800
committerKeith Packard <keithp@keithp.com>2009-11-20 12:10:19 -0800
commit8065b8146a31438e66f83c13b99281ec47439a73 (patch)
treece8adbc55e45f9e074f587b840ab39a977187b8a /ao-tools/lib/cc.h
parent6894541e0ee144bfc689cc02d4ed333711d3b500 (diff)
Add GPS date/time output to ao-postflight.
GPS date/time information was already being stored in the log, it just wasn't getting displayed by ao-postflight. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/lib/cc.h')
-rw-r--r--ao-tools/lib/cc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ao-tools/lib/cc.h b/ao-tools/lib/cc.h
index 0e8ced8a..bdeeaaf5 100644
--- a/ao-tools/lib/cc.h
+++ b/ao-tools/lib/cc.h
@@ -86,6 +86,10 @@ struct cc_timedata {
struct cc_gpselt {
double time;
+ int hour;
+ int minute;
+ int second;
+ int flags;
double lat;
double lon;
double alt;
@@ -149,6 +153,7 @@ struct cc_flightraw {
int serial;
double ground_accel;
double ground_pres;
+ int year, month, day;
struct cc_timedata accel;
struct cc_timedata pres;
struct cc_timedata temp;