aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/print-tty.c2
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;