From ea906e922acc6aeb98f28e1501542c10e7ba621f Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Wed, 13 Mar 2019 16:03:07 -0700 Subject: 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. --- libgpsd_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libgpsd_core.c') 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) { -- cgit v1.2.1