summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorChris Kuethe <chris.kuethe@gmail.com>2007-02-03 23:42:40 +0000
committerChris Kuethe <chris.kuethe@gmail.com>2007-02-03 23:42:40 +0000
commit62ec25f1517a345322e3ae57f2a671e8aa8476a0 (patch)
tree37a09f93be496e9412fe0bf1e0d2569ffb84576b /contrib
parentf2411d6c6c0e5483bc20e83e4d97e377626e73e8 (diff)
downloadgpsd-62ec25f1517a345322e3ae57f2a671e8aa8476a0.tar.gz
got the parameters backwards. pointed out by Frank Mertens
Diffstat (limited to 'contrib')
-rw-r--r--contrib/sirfctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/sirfctl.c b/contrib/sirfctl.c
index 8c54bc45..2dbf2cea 100644
--- a/contrib/sirfctl.c
+++ b/contrib/sirfctl.c
@@ -66,7 +66,7 @@ sirfSetProto(int pfd, struct termios *term, unsigned int speed, unsigned int pro
sirf_write(pfd, sirf);
tcdrain(pfd);
usleep(200000);
- nmea_send(pfd, "$PSRF100,%u,%u,8,1,0", speed, proto);
+ nmea_send(pfd, "$PSRF100,%u,%u,8,1,0", proto, speed);
tcdrain(pfd);
usleep(200000);