diff options
author | Gary E. Miller <gem@rellim.com> | 2019-04-05 17:30:44 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2019-04-05 17:30:44 -0700 |
commit | 1047ab92040746ab9597ffcf57a2ced4aaffc07f (patch) | |
tree | cc742eef14a49cd8d86f5c3dc939fd56737ae810 /gpsutils.c | |
parent | 05f38c3d68c5b61efd78086e8fe0bc6dd15fe793 (diff) | |
download | gpsd-1047ab92040746ab9597ffcf57a2ced4aaffc07f.tar.gz |
gps.h: Add qErr to gps_fix_t.
qErr, aka "sawtooth" correction, is the error in the PPS time.
Diffstat (limited to 'gpsutils.c')
-rw-r--r-- | gpsutils.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -370,6 +370,9 @@ void gps_merge_fix(struct gps_fix_t *to, if ('\0' != from->datum[0]) { strlcpy(to->datum, from->datum, sizeof(to->datum)); } + if (0 != from->qErr) { + to->qErr = from->qErr; + } } /* NOTE: timestamp_t is a double, so this is only precise to |