summaryrefslogtreecommitdiff
path: root/driver_sirf.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-01-16 18:26:48 -0800
committerGary E. Miller <gem@rellim.com>2019-01-16 18:26:48 -0800
commit79f7b5edace7ae9571ef26611c40f45bfa71d38a (patch)
tree05037783df69d0e5c7eb40291126e3723218bebb /driver_sirf.c
parent2abfdbcd3d3220551df22c7ebba2ae27a1867a74 (diff)
downloadgpsd-79f7b5edace7ae9571ef26611c40f45bfa71d38a.tar.gz
driver_sirf: Tweak MID 67,16 debug output
Diffstat (limited to 'driver_sirf.c')
-rw-r--r--driver_sirf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver_sirf.c b/driver_sirf.c
index b1c8cae1..999b0fd5 100644
--- a/driver_sirf.c
+++ b/driver_sirf.c
@@ -788,13 +788,13 @@ static gps_mask_t sirf_msg_67_16(struct gps_device_t *session,
unsigned int sat_num;
int st; /* index into skyview */
- if (len < 198) {
+ if (198 > len) {
/* always payload of 15 sats */
return 0;
}
gpsd_log(&session->context->errout, LOG_PROG,
- "SiRF V: MID 67,16 len %ld\n", (long)len);
+ "SiRF V: MID 67,16 Multiconstellation Satellite Data Response\n");
gps_week = getbeu16(buf, 2);
gps_tow = getbeu32(buf, 4) / 1000;