Restore 4800 baud settings
authorBenoit Papillault <benoit.papillault@free.fr>
Thu, 14 Jul 2011 06:49:14 +0000 (08:49 +0200)
committerBenoit Papillault <benoit.papillault@free.fr>
Thu, 14 Jul 2011 06:49:14 +0000 (08:49 +0200)
sirf.c

diff --git a/sirf.c b/sirf.c
index 01dd87e..03fdd35 100644 (file)
--- a/sirf.c
+++ b/sirf.c
@@ -390,8 +390,8 @@ int main(int argc, const char *argv[])
   if (tcgetattr(fd, &term) != 0) {
     perror("tcgetattr");
   }
-  cfsetispeed(&term, B115200);
-  cfsetospeed(&term, B115200);
+  cfsetispeed(&term, B4800);
+  cfsetospeed(&term, B4800);
   if (tcsetattr(fd, TCSAFLUSH, &term) != 0) {
     perror("tcsetattr");
   }