diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-11-04 22:40:41 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-11-04 22:40:41 +0000 |
commit | 6a129c1c630e7671df4e9a7dbebddc84bda6158e (patch) | |
tree | c66bbca47f3946d2b594c5682dba98aded75fc6a /drivers.c | |
parent | e7199f9c077656eb77eec1a4ed735587aafdf534 (diff) | |
download | gpsd-6a129c1c630e7671df4e9a7dbebddc84bda6158e.tar.gz |
Grrr..fire the event_identified hook and fix a broken conditional.
Diffstat (limited to 'drivers.c')
-rw-r--r-- | drivers.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -450,7 +450,7 @@ static void gpsclock_event_hook(struct gps_device_t *session, event_t event) * Michael St. Laurent <mikes@hartwellcorp.com> reports that you have to * ignore the trailing PPS edge when extracting time from this chip. */ - if (event == event_identified && event == event_reactivate) { + if (event == event_identified || event == event_reactivate) { gpsd_report(LOG_INF, "PPS trailing edge will be ignored"); session->driver.nmea.ignore_trailing_edge = true; } |