summaryrefslogtreecommitdiff
path: root/driver_ubx.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-10-18 13:58:52 -0700
committerGary E. Miller <gem@rellim.com>2018-10-18 13:59:30 -0700
commite15d295d4f0aac68f22603644656053f6d4518f4 (patch)
treed9b06d97c3babfc166663933aef78e72b4a0125d /driver_ubx.c
parent21156b9574fe5f5c6a163afc6f6784d1f834af2e (diff)
downloadgpsd-e15d295d4f0aac68f22603644656053f6d4518f4.tar.gz
driver_ubx: Pass on sats seen even if zero SNR.
Diffstat (limited to 'driver_ubx.c')
-rw-r--r--driver_ubx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/driver_ubx.c b/driver_ubx.c
index e929f1a8..585b2b96 100644
--- a/driver_ubx.c
+++ b/driver_ubx.c
@@ -678,9 +678,6 @@ ubx_msg_nav_svinfo(struct gps_device_t *session, unsigned char *buf,
unsigned char snr = getub(buf, off + 4);
bool used = (bool)(getub(buf, off + 2) & 0x01);
- if (0 == snr)
- continue; /* skip zero SNR */
-
/* fit into gnssid:svid */
if (0 == PRN) {
/* skip 0 PRN */