summaryrefslogtreecommitdiff
path: root/driver_ubx.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-10-30 20:45:28 -0700
committerGary E. Miller <gem@rellim.com>2018-10-30 20:45:28 -0700
commit006dd92162576837ddbc1a942248142ad5bded54 (patch)
tree4d40959162414a6b1722a018ddc8f0d27d0f501e /driver_ubx.c
parent0a437242a3a7ac5866716dba104eb2b64186e644 (diff)
downloadgpsd-006dd92162576837ddbc1a942248142ad5bded54.tar.gz
driver_ubx: RAWX rcvTow was off by 1,000.
Diffstat (limited to 'driver_ubx.c')
-rw-r--r--driver_ubx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_ubx.c b/driver_ubx.c
index d563872a..2991607e 100644
--- a/driver_ubx.c
+++ b/driver_ubx.c
@@ -822,7 +822,7 @@ static gps_mask_t ubx_rxm_rawx(struct gps_device_t *session,
return 0;
}
- rcvTow = getled64((const char *)buf, 0) / 1000.0;
+ rcvTow = getled64((const char *)buf, 0); /* time of week in seconds */
week = getleu16(buf, 8);
leapS = getsb(buf, 10);
numMeas = getub(buf, 11);