diff options
author | Gary E. Miller <gem@rellim.com> | 2019-03-13 15:18:00 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2019-03-13 15:18:00 -0700 |
commit | 21e5566f79ad82cb018fbde2f765530b85420302 (patch) | |
tree | 66bfe429c25e262aa3fa6cead4e30f1eb370c9af /libgpsd_core.c | |
parent | 7ca53f9d99fd6e4398f5a922a7684ee48962e5b5 (diff) | |
download | gpsd-21e5566f79ad82cb018fbde2f765530b85420302.tar.gz |
driver_nmea0183 and more: Decode $PSRFEPE, and epd.
Turns out epd also came from SiRF, but never made it to TPV.
Regressions changed to show new epd data.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r-- | libgpsd_core.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c index 59bd622e..a98f5073 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -1050,7 +1050,9 @@ static void gpsd_error_model(struct gps_device_t *session) } } - if (0 < deltatime && MODE_2D <= fix->mode) { + if (0 == isfinite(fix->epd) && + 0 < deltatime && + MODE_2D <= fix->mode) { /* * We compute a track error estimate solely from the * position of this fix and the last one. The maximum |