summaryrefslogtreecommitdiff
path: root/rtcm3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2008-07-15 22:22:57 +0000
committerEric S. Raymond <esr@thyrsus.com>2008-07-15 22:22:57 +0000
commit4eb223bcf4ccc0847b62ae80aeabafd1c34209af (patch)
tree1e582cf5c11ad30415eb05c6e1c3c1f838313039 /rtcm3.c
parentc4e6423756b105aeeedc7cabe0e379d4c77dda4f (diff)
downloadgpsd-4eb223bcf4ccc0847b62ae80aeabafd1c34209af.tar.gz
Rename big-endian bit extraction macros.
Diffstat (limited to 'rtcm3.c')
-rw-r--r--rtcm3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtcm3.c b/rtcm3.c
index be984c2b..0b4bdb91 100644
--- a/rtcm3.c
+++ b/rtcm3.c
@@ -454,7 +454,7 @@ void rtcm3_unpack(/*@out@*/struct rtcm3_t *tp, char *buf)
(void)printf("%s: type=%d length=%d, computed length %d, computed type %d\n",
gpsd_hexdump(buf, 6),
msg->type, msg->length,
- getuw(buf, 1), getuw(buf, 3) >> 4);
+ getbeuw(buf, 1), getbeuw(buf, 3) >> 4);
// FIXME: Decoding of packet content goes here
}