summaryrefslogtreecommitdiff
path: root/contrib/binlog.c
diff options
context:
space:
mode:
authorChris Kuethe <chris.kuethe@gmail.com>2009-01-24 04:56:37 +0000
committerChris Kuethe <chris.kuethe@gmail.com>2009-01-24 04:56:37 +0000
commitc5c0c4056ad41f838bbf679f7a01846fca761650 (patch)
treebeed32c93d31b8766cc31240533b6242f8ddc872 /contrib/binlog.c
parentf23a20c8f90202272b80ce4b36f3a51b78194c2c (diff)
downloadgpsd-c5c0c4056ad41f838bbf679f7a01846fca761650.tar.gz
19200 is also a valid speed
Diffstat (limited to 'contrib/binlog.c')
-rw-r--r--contrib/binlog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/binlog.c b/contrib/binlog.c
index 72c43259..5ef6793c 100644
--- a/contrib/binlog.c
+++ b/contrib/binlog.c
@@ -28,6 +28,7 @@ int main(int argc, char **argv) {
case 57600:
case 38400:
case 28800:
+ case 19200:
case 14400:
case 9600:
case 4800:
@@ -49,7 +50,7 @@ int main(int argc, char **argv) {
cfsetispeed(&term, speed);
if (tcsetattr(ifd, TCSANOW | TCSAFLUSH, &term) == -1)
err(1, "tcsetattr");
-
+
tcflush(ifd, TCIOFLUSH);
n = 0;
while (1){