summaryrefslogtreecommitdiff
path: root/drivers.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-08-24 14:08:01 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-08-24 14:08:01 -0400
commit0ca4dac4db42ddf2f95bb60007c8f3f5b4f17619 (patch)
treeafc8c87158f752a6976fec12d00eb8fd0873c81a /drivers.c
parent95ee64a63dbe4c13ab0596ec2b16274d7972bc0a (diff)
downloadgpsd-0ca4dac4db42ddf2f95bb60007c8f3f5b4f17619.tar.gz
Recreare the driver union, curtting per-device storage requirements.
This time, the NMEA privarte storage is outside the union, so mode-switching won't step on stuff. All regression tests pass.
Diffstat (limited to 'drivers.c')
-rw-r--r--drivers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers.c b/drivers.c
index eb8a41ee..13cf4ef8 100644
--- a/drivers.c
+++ b/drivers.c
@@ -509,7 +509,7 @@ static void gpsclock_event_hook(struct gps_device_t *session, event_t event)
if (event == event_identified || event == event_reactivate) {
gpsd_report(session->context->debug, LOG_INF,
"PPS trailing edge will be ignored\n");
- session->driver.nmea.ignore_trailing_edge = true;
+ session->nmea.ignore_trailing_edge = true;
}
}