summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-07-24 14:45:53 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-07-24 14:45:53 +0000
commit4a3fcb00b93a9c8023912f9daf0931e1e3a496fa (patch)
treecbc1355d1f365f98aa7ce7f2473392cbf364e77d /gps.h
parent961d3317594bc89c076211c75ab073461b26700d (diff)
downloadgpsd-4a3fcb00b93a9c8023912f9daf0931e1e3a496fa.tar.gz
More work at separating the low-level decoder from the RTCM structure stuff.
Diffstat (limited to 'gps.h')
-rw-r--r--gps.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gps.h b/gps.h
index ee9d7cb8..2a0e9a1f 100644
--- a/gps.h
+++ b/gps.h
@@ -89,8 +89,8 @@ struct gps_fix_t {
/* RTCM104 doesn't specify this, so give it the largest reasonable value */
#define MAXHEALTH (RTCM_WORDS_MAX-2)
-
-typedef /*@unsignedintegraltype@*/ unsigned int rtcmword_t;
+/* nominally 30-bit word */
+typedef /*@unsignedintegraltype@*/ unsigned int isgps30bits_t;
struct rtcm_t {
/* header contents */
@@ -155,9 +155,9 @@ struct rtcm_t {
} station[MAXSTATIONS];
} almanac;
/* data from type 16 messages */
- char message[(RTCM_WORDS_MAX-2) * sizeof(rtcmword_t)];
+ char message[(RTCM_WORDS_MAX-2) * sizeof(isgps30bits_t)];
/* data from messages of unknown type */
- rtcmword_t words[RTCM_WORDS_MAX-2];
+ isgps30bits_t words[RTCM_WORDS_MAX-2];
};
};