diff options
author | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2018-04-22 17:44:50 +0200 |
---|---|---|
committer | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2018-04-22 17:44:50 +0200 |
commit | 3ab8e312386833c1d3afbb46503661f596c406bb (patch) | |
tree | baa99fa0de7752bbb4b1368e45145c0a814e1adb | |
parent | 4bd6e5919a4b7da65c479482a589b4630611e32b (diff) | |
download | embedlog-nuttx-support.tar.gz embedlog-nuttx-support.tar.bz2 embedlog-nuttx-support.zip |
fix: baudrate for tty example - some systems dont like such high speednuttx-support
-rw-r--r-- | examples/print-tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/print-tty.c b/examples/print-tty.c index a0c53af..e38cf57 100644 --- a/examples/print-tty.c +++ b/examples/print-tty.c @@ -27,7 +27,7 @@ int main(void) * 8N1 by default. Baudrate should be taken from termios (3). */ - if (el_option(EL_TTY_DEV, "/dev/ttyUSB1", B115200) != 0) + if (el_option(EL_TTY_DEV, "/dev/ttyUSB1", B9600) != 0) { perror("tty set failed"); return 1; |