diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2012-09-07 05:01:20 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2012-09-07 05:01:20 -0400 |
commit | a5f284d5685218b596c26192cfd04b57d30c05f7 (patch) | |
tree | c34d1c7bc93cca25dafa8fe320389672a0c43273 /drivers.c | |
parent | d6312e3de44a1c3b9ee1d15ac6c30b2d06d09e6e (diff) | |
download | gpsd-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |