diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-07-24 14:45:53 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-07-24 14:45:53 +0000 |
commit | 4a3fcb00b93a9c8023912f9daf0931e1e3a496fa (patch) | |
tree | cbc1355d1f365f98aa7ce7f2473392cbf364e77d /gps.h | |
parent | 961d3317594bc89c076211c75ab073461b26700d (diff) | |
download | gpsd-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.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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]; }; }; |