summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-04 10:14:17 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-04 10:14:17 +0000
commit8ec5a4fe3400e4af5e8b49fb2f76160def1f015b (patch)
treeb60562102617e938b8edea676249a6bca18776d1 /gps.h
parenteff52aa6de15dc7702e9996496bb05a36f7ea75a (diff)
downloadgpsd-8ec5a4fe3400e4af5e8b49fb2f76160def1f015b.tar.gz
IS8601 dump format and some defaults were slightly wrong.
On the client side, interpreted message 4 and 5 timestamp fields.
Diffstat (limited to 'gps.h')
-rw-r--r--gps.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gps.h b/gps.h
index 496d756e..152d7aec 100644
--- a/gps.h
+++ b/gps.h
@@ -519,11 +519,11 @@ struct ais_t
uint day; /* UTC day */
#define AIS_DAY_NOT_AVAILABLE 0
uint hour; /* UTC hour */
-#define AIS_HOUR_NOT_AVAILABLE 0
+#define AIS_HOUR_NOT_AVAILABLE 24
uint minute; /* UTC minute */
-#define AIS_MINUTE_NOT_AVAILABLE 0
+#define AIS_MINUTE_NOT_AVAILABLE 60
uint second; /* UTC second */
-#define AIS_SECOND_NOT_AVAILABLE 0
+#define AIS_SECOND_NOT_AVAILABLE 60
bool accuracy; /* fix quality */
int lon; /* longitude */
int lat; /* latitude */