summaryrefslogtreecommitdiff
path: root/ppsthread.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2017-01-25 12:24:29 -0800
committerGary E. Miller <gem@rellim.com>2017-01-25 12:24:29 -0800
commit9316f55638a8641bf2897667754b2e6f1820c8fb (patch)
treed99f443406fa923d061bdd05b3e198186d1c410a /ppsthread.c
parentd287c76f4f2e1ffd275da41b84f9e08ea7f74344 (diff)
downloadgpsd-9316f55638a8641bf2897667754b2e6f1820c8fb.tar.gz
Rasberry -> Raspberry, thanks to Péter <e2qb2a44f@prolan-power.hu>
Diffstat (limited to 'ppsthread.c')
-rw-r--r--ppsthread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ppsthread.c b/ppsthread.c
index 6aadf90d..cd6c883c 100644
--- a/ppsthread.c
+++ b/ppsthread.c
@@ -224,7 +224,7 @@ static int init_kernel_pps(struct inner_context_t *inner_context)
#endif /* __clang_analyzer__ */
#ifdef __linux__
/*
- * Some Linuxes, like the RasbPi's, have PPS devices preexisting.
+ * Some Linuxes, like the RasPi's, have PPS devices preexisting.
* Other OS have no way to automatically determine the proper /dev/ppsX.
* Allow user to pass in an explicit PPS device path.
*
@@ -980,7 +980,7 @@ static void *gpsd_ppsmonitor(void *arg)
*
* You may think that PPS is very accurate, so the cycle time
* valid window should be very small. This is not the case,
- * The Rasberry Pi clock is very coarse when it starts and/or chronyd
+ * The Raspberry Pi clock is very coarse when it starts and/or chronyd
* may be doing a fast slew. chronyd by default will slew up
* to 8.334%! So the cycle time as measured by the system clock
* may be almost +/- 9%. Therefore, gpsd uses a 10% window.
@@ -1009,7 +1009,7 @@ static void *gpsd_ppsmonitor(void *arg)
} else if (900000 > cycle) {
/* longer than 200 milliSec + 10%
* shorter than 1.000 Sec - 10% */
- /* Yes, 10% window. The Rasberry Pi clock is very coarse
+ /* Yes, 10% window. The Raspberry Pi clock is very coarse
* when it starts and chronyd may be doing a fast slew.
* chronyd by default will slew up to 8.334% ! */
log = "Too long for 5Hz, too short for 1Hz\n";