summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-01 08:15:04 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-01 08:15:04 +0000
commitafb11120aba9cbe40e2e3e0f04550833817253e5 (patch)
treec2b2814ec7c0658cfe662d441cdbb7c009dc40a6 /gps.h
parent2ca680896b4daea2a9a72e43ccb902e5ea2c9421 (diff)
downloadgpsd-afb11120aba9cbe40e2e3e0f04550833817253e5.tar.gz
More code generation - up to AIS message 13 now.
All regression tests pass.
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 412c65cb..becc2ea2 100644
--- a/gps.h
+++ b/gps.h
@@ -508,7 +508,7 @@ struct ais_t
//uint spare; spare bits */
bool raim; /* RAIM flag */
uint radio; /* radio status bits */
- } type123;
+ } type1;
/* Type 4 - Base Station Report & Type 11 - UTC and Date Response */
struct {
uint year; /* UTC year */
@@ -558,7 +558,7 @@ struct ais_t
uint dest_mmsi; /* destination MMSI */
bool retransmit; /* retransmit flag */
//uint spare; spare bit(s) */
- uint application_id; /* Application ID */
+ uint app_id; /* Application ID */
#define AIS_TYPE6_BINARY_MAX 920 /* 920 bits */
uint bitcount; /* bit count of the data */
char bitdata[(AIS_TYPE6_BINARY_MAX + 7) / 8];
@@ -570,7 +570,7 @@ struct ais_t
/* Type 8 - Broadcast Binary Message */
struct {
//uint spare; spare bit(s) */
- uint application_id; /* Application ID */
+ uint app_id; /* Application ID */
#define AIS_TYPE8_BINARY_MAX 952 /* 952 bits */
uint bitcount; /* bit count of the data */
char bitdata[(AIS_TYPE8_BINARY_MAX + 7) / 8];