diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2007-02-03 23:42:40 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2007-02-03 23:42:40 +0000 |
commit | 62ec25f1517a345322e3ae57f2a671e8aa8476a0 (patch) | |
tree | 37a09f93be496e9412fe0bf1e0d2569ffb84576b /contrib | |
parent | f2411d6c6c0e5483bc20e83e4d97e377626e73e8 (diff) | |
download | gpsd-62ec25f1517a345322e3ae57f2a671e8aa8476a0.tar.gz |
got the parameters backwards. pointed out by Frank Mertens
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/sirfctl.c | 2 |
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); |