summaryrefslogtreecommitdiff
path: root/driver_navcom.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver_navcom.c')
-rw-r--r--driver_navcom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver_navcom.c b/driver_navcom.c
index c0809019..8706acc8 100644
--- a/driver_navcom.c
+++ b/driver_navcom.c
@@ -898,7 +898,7 @@ static gps_mask_t handle_0xb5(struct gps_device_t *session)
double alt_sd = getled64(buf, 57);
double hrms = sqrt(pow(lat_sd, 2) + pow(lon_sd, 2));
#endif /* __UNUSED__ */
- session->gpsdata.epe = rms * 1.96;
+ session->newdata.epe = rms * 1.96;
mask |= PERR_IS;
#ifdef __UNUSED__
session->newdata.eph = hrms * 1.96;
@@ -911,7 +911,7 @@ static gps_mask_t handle_0xb5(struct gps_device_t *session)
gpsd_log(&session->context->errout, LOG_PROG,
"Navcom: received packet type 0xb5 (Pseudorange Noise Statistics)\n");
gpsd_log(&session->context->errout, LOG_DATA,
- "Navcom: epe = %f\n", session->gpsdata.epe);
+ "Navcom: epe = %f\n", session->newdata.epe);
return mask;
} else {
/* Ignore this message block */