diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2012-04-19 17:32:48 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2012-04-19 17:32:48 -0400 |
commit | 38e09bb74ccdd927768389b007a5f98872115849 (patch) | |
tree | 77ee4f7029cbe9fca2f10d9f1002d661b4a219f5 /driver_rtcm3.c | |
parent | 14f69ce81a55203d35a9606ef7ed917a12375a7e (diff) | |
download | gpsd-38e09bb74ccdd927768389b007a5f98872115849.tar.gz |
More steps towards little-endiuan extraction.
All normal regressions tests and the test_bits unit test pass.
Diffstat (limited to 'driver_rtcm3.c')
-rw-r--r-- | driver_rtcm3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/driver_rtcm3.c b/driver_rtcm3.c index d1ce850d..ae47bc2e 100644 --- a/driver_rtcm3.c +++ b/driver_rtcm3.c @@ -74,8 +74,8 @@ void rtcm3_unpack( /*@out@*/ struct rtcm3_t *rtcm, char *buf) signed long temp; /*@ -evalorder -sefparams -mayaliasunique @*/ -#define ugrab(width) (bitcount += width, ubebits(buf, bitcount-width, width)) -#define sgrab(width) (bitcount += width, sbebits(buf, bitcount-width, width)) +#define ugrab(width) (bitcount += width, ubits(buf, bitcount-width, width, false)) +#define sgrab(width) (bitcount += width, sbits(buf, bitcount-width, width, false)) #define GPS_PSEUDORANGE(fld, len) \ {temp = (unsigned long)ugrab(len); \ if (temp == GPS_INVALID_PSEUDORANGE) \ |