summaryrefslogtreecommitdiff
path: root/driver_zodiac.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver_zodiac.c')
-rw-r--r--driver_zodiac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/driver_zodiac.c b/driver_zodiac.c
index 238c3f09..58537dc1 100644
--- a/driver_zodiac.c
+++ b/driver_zodiac.c
@@ -240,6 +240,7 @@ static gps_mask_t handle1002(struct gps_device_t *session)
break;
}
}
+ session->context->gps_week = gps_week;
session->gpsdata.skyview_time =
gpstime_to_unix(gps_week, (double)gps_seconds);
gpsd_report(LOG_DATA, "1002: visible=%d used=%d mask={SATELLITE|USED}\n",