summaryrefslogtreecommitdiff
path: root/sirf.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-07-11 12:32:41 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-07-11 12:32:41 +0000
commitb89766bedaa4143db4aa54496cc3ad459fc6996c (patch)
tree91e00b70309fab5542bd51d35a361e209f286702 /sirf.c
parentd56e47611cb5d2966bd7eb923dcb51bd8c66fcd0 (diff)
downloadgpsd-b89766bedaa4143db4aa54496cc3ad459fc6996c.tar.gz
Architecture extension; handle variable sample rates.
Diffstat (limited to 'sirf.c')
-rw-r--r--sirf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sirf.c b/sirf.c
index cb98e254..f0de18d5 100644
--- a/sirf.c
+++ b/sirf.c
@@ -760,9 +760,11 @@ struct gps_type_t sirf_binary =
sirfbin_initializer, /* initialize the device */
packet_get, /* how to grab a packet */
sirfbin_parse_input, /* read and parse message packets */
- pass_rtcm, /* send RTCM data straight */
+ pass_rtcm, /* send RTCM data straight */
sirfbin_speed, /* we can change baud rate */
sirfbin_mode, /* there's a mode switcher */
+ NULL, /* no sample-rate switcher */
+ -1, /* not relevant, no rate switch */
NULL, /* caller needs to supply a close hook */
1, /* updates every second */
};