diff options
Diffstat (limited to 'driver_garmin.c')
-rw-r--r-- | driver_garmin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_garmin.c b/driver_garmin.c index 418ff574..e5233be7 100644 --- a/driver_garmin.c +++ b/driver_garmin.c @@ -419,7 +419,7 @@ gps_mask_t PrintSERPacket(struct gps_device_t *session, unsigned char pkt_id, // We follow the advice at <http://gpsinformation.net/main/errors.htm>. // If this assumption changes here, it should also change in // nmea_parse.c where we analyze PGRME. - session->newdata.epe = pvt->epe * (GPSD_CONFIDENCE / CEP50_SIGMA); + session->newdata.sep = pvt->epe * (GPSD_CONFIDENCE / CEP50_SIGMA); /* eph is a circular error, sqrt(epx**2 + epy**2) */ session->newdata.epx = session->newdata.epy = pvt->eph * (1 / sqrt(2)) * (GPSD_CONFIDENCE / CEP50_SIGMA); |