diff options
author | Gary E. Miller <gem@rellim.com> | 2019-03-13 16:03:07 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2019-03-13 16:03:07 -0700 |
commit | ea906e922acc6aeb98f28e1501542c10e7ba621f (patch) | |
tree | a52df344c9d68bf80386e57dc6d73e41112a78ed /libgpsd_core.c | |
parent | 21e5566f79ad82cb018fbde2f765530b85420302 (diff) | |
download | gpsd-ea906e922acc6aeb98f28e1501542c10e7ba621f.tar.gz |
driver_nmea0183 and more: Decode $PSRFEPE add eps.
Turns out eps also came from other GPS, but never made it to TPV.
Regressions changed to show new eps data.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r-- | libgpsd_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c index a98f5073..d3099624 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -1036,8 +1036,8 @@ static void gpsd_error_model(struct gps_device_t *session) 0 != isfinite(oldfix->epy)) { fix->eps = (EMIX(oldfix->epx, oldfix->epy) + EMIX(fix->epx, fix->epy)) / deltatime; - } else - fix->eps = NAN; + } + /* else, leave as NAN */ } if (0 < deltatime && MODE_3D <= fix->mode) { |