From b2b2b26a85f9165df582dcc8c332fc0191a29d80 Mon Sep 17 00:00:00 2001 From: Zhenhua Zhang Date: Tue, 5 Jan 2010 16:23:08 +0800 Subject: [PATCH] Fix set default baud rate to 115200 --- gatchat/gattty.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/gatchat/gattty.c b/gatchat/gattty.c index 02ca389..94ec37f 100644 --- a/gatchat/gattty.c +++ b/gatchat/gattty.c @@ -198,6 +198,8 @@ static int open_device(const char *tty, GHashTable *options) memset(&ti, 0, sizeof(ti)); cfmakeraw(&ti); + set_baud("115200", &ti); + if (options) { GHashTableIter iter; const char *key; -- 1.6.3.3