summaryrefslogtreecommitdiff
path: root/driver_navcom.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-03-27 18:32:05 -0700
committerGary E. Miller <gem@rellim.com>2019-03-27 18:32:05 -0700
commitd09c6bf5a9f0a56cf3e510f87fe38f08acb57c6c (patch)
tree8a5128731f0bbba90530756f6199cc4f03c4a858 /driver_navcom.c
parent493e6198c4e50ea7034cce117a8a695a3cbfee53 (diff)
downloadgpsd-d09c6bf5a9f0a56cf3e510f87fe38f08acb57c6c.tar.gz
driver_navcom: Remove unused variable.
Diffstat (limited to 'driver_navcom.c')
-rw-r--r--driver_navcom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_navcom.c b/driver_navcom.c
index 63c37475..41ae1ff6 100644
--- a/driver_navcom.c
+++ b/driver_navcom.c
@@ -874,8 +874,8 @@ static gps_mask_t handle_0xb5(struct gps_device_t *session)
char *buf = (char *)session->lexer.outbuffer + 3;
uint16_t week = getleu16(buf, 3);
uint32_t tow = getleu32(buf, 5);
- double rms = getled64(buf, 9);
#ifdef __UNUSED__
+ double rms = getled64(buf, 9);
/* Reason why it's unused is these figures do not agree
* with those obtained from the PVT report (handle_0xb1).
* The figures from 0xb1 do agree with the values reported