summaryrefslogtreecommitdiff
path: root/subframe.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 /subframe.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 'subframe.c')
-rw-r--r--subframe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/subframe.c b/subframe.c
index a8eebf1e..ae7059c8 100644
--- a/subframe.c
+++ b/subframe.c
@@ -19,7 +19,7 @@ gps_mask_t gpsd_interpret_subframe_raw(struct gps_device_t *session,
uint32_t parity;
if (session->subframe_count++ == 0) {
- speed_t speed = gpsd_get_speed(&session->ttyset);
+ speed_t speed = gpsd_get_speed(session);
if (speed < 38400)
gpsd_report(LOG_WARN, "speed less than 38,400 may cause data lag and loss of functionality\n");