diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2012-09-07 06:24:26 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2012-09-07 06:24:26 -0400 |
commit | 620f7445dcacfbb740c55a9e4b891593c3f94910 (patch) | |
tree | e092711dae9ac1af540a2e5469493f13303248c1 /driver_rtcm3.c | |
parent | 76b2aaba9575d60230387555822b18ceeb07353a (diff) | |
download | gpsd-620f7445dcacfbb740c55a9e4b891593c3f94910.tar.gz |
Nuke trailing whitespace in C source.
Diffstat (limited to 'driver_rtcm3.c')
-rw-r--r-- | driver_rtcm3.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/driver_rtcm3.c b/driver_rtcm3.c index 7c9e9b22..93e955d8 100644 --- a/driver_rtcm3.c +++ b/driver_rtcm3.c @@ -4,9 +4,9 @@ This is a decoder for RTCM-104 3.x, a serial protocol used for broadcasting pseudorange corrections from differential-GPS reference stations. The applicable specification is RTCM 10403.1: RTCM Paper 177-2006-SC104-STD. This obsolesces the earlier RTCM-104 2.x -specifications. The specification document is proprietary; ordering +specifications. The specification document is proprietary; ordering instructions are accessible from <http://www.rtcm.org/> -under "Publications". +under "Publications". Unike the RTCM 2.x protocol, RTCM3.x does not use the strange sliding-bit-window IS-GPS-200 protocol as a transport layer, but is a @@ -380,7 +380,7 @@ void rtcm3_unpack( /*@out@*/ struct rtcm3_t *rtcm, char *buf) rtcm->rtcmtypes.rtcm3_1029.sod = (unsigned short)ugrab(17); rtcm->rtcmtypes.rtcm3_1029.len = (unsigned long)ugrab(7); rtcm->rtcmtypes.rtcm3_1029.unicode_units = (size_t)ugrab(8); - (void)memcpy(rtcm->rtcmtypes.rtcm3_1029.text, + (void)memcpy(rtcm->rtcmtypes.rtcm3_1029.text, buf + 12, rtcm->rtcmtypes.rtcm3_1029.unicode_units); break; @@ -406,7 +406,7 @@ void rtcm3_unpack( /*@out@*/ struct rtcm3_t *rtcm, char *buf) break; default: - /* + /* * Leader bytes, message length, and checksum won't be copied. * The first 12 bits of the copied payload will be the type field. */ |