summaryrefslogtreecommitdiff
path: root/drivers.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-09-07 05:01:20 -0400
committerEric S. Raymond <esr@thyrsus.com>2012-09-07 05:01:20 -0400
commita5f284d5685218b596c26192cfd04b57d30c05f7 (patch)
treec34d1c7bc93cca25dafa8fe320389672a0c43273 /drivers.c
parentd6312e3de44a1c3b9ee1d15ac6c30b2d06d09e6e (diff)
downloadgpsd-a5f284d5685218b596c26192cfd04b57d30c05f7.tar.gz
Change the API so the yermios strucytture is not publicly exposed.
Becauser this changed the libgpsd API but not the libgps one, libgpsd now has its own version number. (Doing otherwise would have inflicted a gratuitous binary-compatibility break on application developers). All regression tests pass. Audit check runs clean.
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 e6c83079..078b4ee6 100644
--- a/drivers.c
+++ b/drivers.c
@@ -898,7 +898,7 @@ static bool fury_rate_switcher(struct gps_device_t *session, double rate)
static void fury_event_hook(struct gps_device_t *session, event_t event)
{
- if (event == event_wakeup && gpsd_get_speed(&session->ttyset) == 115200)
+ if (event == event_wakeup && gpsd_get_speed(session) == 115200)
(void)fury_rate_switcher(session, 1.0);
else if (event == event_deactivate)
(void)fury_rate_switcher(session, 0.0);