diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-01-21 13:11:29 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-01-21 13:11:29 -0500 |
commit | 8f1e00a014dc76401462e1e7deb8cfdc8688b430 (patch) | |
tree | a31dd13b5acc7d3da36b5094ece713eaf4cafab0 /driver_proto.c | |
parent | cf89a66439c7fc4a950860d628383e341b692255 (diff) | |
download | gpsd-8f1e00a014dc76401462e1e7deb8cfdc8688b430.tar.gz |
Refactor time handling yet again. All regression tests pass.
Diffstat (limited to 'driver_proto.c')
-rw-r--r-- | driver_proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_proto.c b/driver_proto.c index a8a94d79..165ee4ae 100644 --- a/driver_proto.c +++ b/driver_proto.c @@ -152,7 +152,7 @@ _proto__msg_utctime(struct gps_device_t *session, unsigned char *buf, size_t dat tow = GET_MS_TIMEOFWEEK(); gps_week = GET_WEEKNUMBER(); session->context->leap_seconds = GET_GPS_LEAPSECONDS(); - session->newdata.time = gpsd_resolve_time(session, gps_week, tow / 1000.0); + session->newdata.time = gpsd_gpstime_resolve(session, gps_week, tow / 1000.0); return TIME_IS | ONLINE_IS; } |