summaryrefslogtreecommitdiff
path: root/ppsthread.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-03-08 09:35:03 -0400
committerEric S. Raymond <esr@thyrsus.com>2015-03-08 09:35:03 -0400
commitc82fe00247bd9fcbf5a70901c3b022e8ddd5ab0f (patch)
treef6876e6cc50dd166e94c30851804bb7911c0e613 /ppsthread.h
parent2144fc0fde0b5ba35bc252beaef753c2e07e9fd8 (diff)
downloadgpsd-c82fe00247bd9fcbf5a70901c3b022e8ddd5ab0f.tar.gz
Eliminate timestamp-T use from PPS thread code.
PPS observed live on GR-601W. All regression yests pass.
Diffstat (limited to 'ppsthread.h')
-rw-r--r--ppsthread.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ppsthread.h b/ppsthread.h
index ea83d04f..73c8720b 100644
--- a/ppsthread.h
+++ b/ppsthread.h
@@ -23,8 +23,8 @@
#endif /* S_SPLINT_S */
struct pps_thread_t {
- timestamp_t fixin_real;
- struct timespec fixin_clock; /* system clock time when last fix received */
+ struct timespec fixin_real; /* in-band time of the fix */
+ struct timespec fixin_clock; /* system clock time when fix received */
#if defined(HAVE_SYS_TIMEPPS_H)
pps_handle_t kernelpps_handle;
#endif /* defined(HAVE_SYS_TIMEPPS_H) */
@@ -50,7 +50,7 @@ struct pps_thread_t {
extern void pps_thread_activate(volatile struct pps_thread_t *);
extern void pps_thread_deactivate(volatile struct pps_thread_t *);
extern void pps_thread_stash_fixtime(volatile struct pps_thread_t *,
- timestamp_t, struct timespec);
+ struct timespec, struct timespec);
extern int pps_thread_lastpps(volatile struct pps_thread_t *,
struct timedelta_t *);