diff options
author | Gary E. Miller <gem@rellim.com> | 2010-04-18 19:50:17 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2010-04-18 19:50:17 -0700 |
commit | df655a372c2f0997ac868a7b818ba438d17810ea (patch) | |
tree | 6aef9fe6358319d8fa677b04f5f3fe775c33f33a /driver_zodiac.c | |
parent | 262282ffbbfa1756de4fc7f2c6856a4663c907a1 (diff) | |
download | gpsd-df655a372c2f0997ac868a7b818ba438d17810ea.tar.gz |
Smoke out more private copies of gps_week and move into session->context.
Prepare to do the same for Time of Week (tow).
Diffstat (limited to 'driver_zodiac.c')
-rw-r--r-- | driver_zodiac.c | 1 |
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", |