From a5f284d5685218b596c26192cfd04b57d30c05f7 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 7 Sep 2012 05:01:20 -0400 Subject: 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. --- drivers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers.c') 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); -- cgit v1.2.1