summaryrefslogtreecommitdiff
path: root/driver_navcom.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-03-15 11:50:36 -0700
committerGary E. Miller <gem@rellim.com>2019-03-15 11:50:36 -0700
commitaf1104274a405f97095caa0897b236d6c913f171 (patch)
tree4b7c8214f4a2cc58ea2b1baaca8e510106e1ee77 /driver_navcom.c
parent31c60376876a5a2317a4a1db9dcc03a93d234134 (diff)
downloadgpsd-af1104274a405f97095caa0897b236d6c913f171.tar.gz
Move epe from gps_data_t to be near its friends in gps_fix_t.
No functional changes. Looks like epe never went anywhere...
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 */