summaryrefslogtreecommitdiff
path: root/driver_ubx.c
diff options
context:
space:
mode:
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 24918a56..25b4ecf2 100644
--- a/driver_ubx.c
+++ b/driver_ubx.c
@@ -272,7 +272,7 @@ ubx_msg_nav_svinfo(struct gps_device_t *session, unsigned char *buf,
continue;
/*@ -predboolothers */
if (used || session->gpsdata.skyview[st].PRN == (int)session->driver.ubx.sbas_in_use) {
- session->sats_used[nsv++] = session->gpsdata.skyview[st].PRN;
+ nsv++;
session->gpsdata.skyview[st].used = true;
}
/*@ +predboolothers */