diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-09-04 10:14:17 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-09-04 10:14:17 +0000 |
commit | 8ec5a4fe3400e4af5e8b49fb2f76160def1f015b (patch) | |
tree | b60562102617e938b8edea676249a6bca18776d1 /gps.h | |
parent | eff52aa6de15dc7702e9996496bb05a36f7ea75a (diff) | |
download | gpsd-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.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 */ |