diff options
author | Gary E. Miller <gem@rellim.com> | 2019-03-25 15:59:44 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2019-03-25 16:37:45 -0700 |
commit | 57eab188b60fb2a47362142c6dc4da1249d8fd11 (patch) | |
tree | d345e85c937cf9c7bf8740cac87f0f4ddeadab42 /gpsutils.c | |
parent | 1dbb033ec622d0cbe95ae9d12ce2e373ced31100 (diff) | |
download | gpsd-57eab188b60fb2a47362142c6dc4da1249d8fd11.tar.gz |
daemon side: stop using VERR_SET. Exposed a bug in sirf driver.
It seems the gpsd epc is more pessimistic than from the GPS.
Diffstat (limited to 'gpsutils.c')
-rw-r--r-- | gpsutils.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -346,8 +346,9 @@ void gps_merge_fix(struct gps_fix_t *to, if (0 != isfinite(from->sep)) { to->sep = from->sep; } - if ((transfer & VERR_SET) != 0) + if (0 != isfinite(from->epv)) { to->epv = from->epv; + } if ((transfer & SPEEDERR_SET) != 0) to->eps = from->eps; if ((transfer & ECEF_SET) != 0) { |