From 620f7445dcacfbb740c55a9e4b891593c3f94910 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 7 Sep 2012 06:24:26 -0400 Subject: Nuke trailing whitespace in C source. --- driver_rtcm3.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'driver_rtcm3.c') 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 -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. */ -- cgit v1.2.1