From e019ab7646787b3e5542c6027b1003088350186c Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Wed, 13 Mar 2019 16:47:58 -0700 Subject: libgpsd_core: Step clobbering epe when error modeling. This released a flood of GPGBS. But the GPGBS are wrong format according to NMEA 3.0... --- libgpsd_core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libgpsd_core.c') diff --git a/libgpsd_core.c b/libgpsd_core.c index 32d66efc..10e9a770 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -1028,8 +1028,7 @@ static void gpsd_error_model(struct gps_device_t *session) if (0 == isfinite(session->gpsdata.epe) && 0 != isfinite(session->gpsdata.dop.pdop)) { session->gpsdata.epe = session->gpsdata.dop.pdop * p_uere; - } else - session->gpsdata.epe = NAN; + } /* * If we have a current fix and an old fix, and the packet handler -- cgit v1.2.1