summaryrefslogtreecommitdiff
path: root/gpsmon.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-08-21 18:30:23 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-08-21 18:30:23 -0400
commita006eef564b7a6bab2c8568d54fadff20ff59365 (patch)
tree7108d5143e20e06bdae55ff0c4f759527576b569 /gpsmon.c
parent07859f6adeace85f64e9c6c6c8ce188834328df5 (diff)
downloadgpsd-a006eef564b7a6bab2c8568d54fadff20ff59365.tar.gz
Restore PPS function by backing out Miroslav Lichtvar's last commit.
It came in way, way out of sequence ansd screwed something up. He may have been fixing some real problem, however. This requures investigation. All regression tests pass.
Diffstat (limited to 'gpsmon.c')
-rw-r--r--gpsmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsmon.c b/gpsmon.c
index 3e8a7beb..f9973a27 100644
--- a/gpsmon.c
+++ b/gpsmon.c
@@ -778,7 +778,7 @@ static void gpsmon_hook(struct gps_device_t *device, gps_mask_t changed UNUSED)
report_unlock();
/* Update the last fix time seen for PPS. FIXME: do this here? */
- device->last_fixtime.real = device->newdata.time;
+ device->last_fixtime = device->newdata.time;
}
/*@+observertrans +nullpass +globstate +compdef +uniondef@*/