diff options
author | Gary E. Miller <gem@rellim.com> | 2019-03-13 16:47:58 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2019-03-13 16:47:58 -0700 |
commit | e019ab7646787b3e5542c6027b1003088350186c (patch) | |
tree | 67385b6ed1dcfe6e23363c7fe6e2430606c48d67 /libgpsd_core.c | |
parent | 16bb6348fc9b170bfce6bea9137d494a3315c6fc (diff) | |
download | gpsd-e019ab7646787b3e5542c6027b1003088350186c.tar.gz |
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...
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r-- | libgpsd_core.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 |