From 067d1e837be5dab17e2de36080df618e3ce0969e Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Mon, 11 Apr 2016 11:24:44 -0700 Subject: Also send SKY when GPGSA is received. Some GPS send GPGSV (sats in view) every 5 seconds by GPGSA (sats used) every second. gpsd was sending SKY only on GPGSV, so the more frequent updates to used sats were getting lost. Now send updates on GPGSA and GPGSV changes. The sat view is now more up to date. --- gpsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsd.c b/gpsd.c index 6f575cd5..d962a18f 100644 --- a/gpsd.c +++ b/gpsd.c @@ -1407,7 +1407,7 @@ static void pseudonmea_report(struct subscriber_t *sub, (void)throttled_write(sub, buf, strlen(buf)); } - if ((changed & SATELLITE_SET) != 0) { + if ((changed & (SATELLITE_SET|USED_IS)) != 0) { nmea_sky_dump(device, buf, sizeof(buf)); gpsd_log(&context.errout, LOG_IO, "<= GPS (binary sky) %s: %s\n", -- cgit v1.2.1