mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Merge pull request #41 from jwilk/baud-rates
Add support for baud rates 200 and 1800
This commit is contained in:
commit
36f516929a
1 changed files with 6 additions and 0 deletions
|
|
@ -181,6 +181,9 @@ void tty_configure(void)
|
||||||
case 150:
|
case 150:
|
||||||
baudrate = B150;
|
baudrate = B150;
|
||||||
break;
|
break;
|
||||||
|
case 200:
|
||||||
|
baudrate = B200;
|
||||||
|
break;
|
||||||
case 300:
|
case 300:
|
||||||
baudrate = B300;
|
baudrate = B300;
|
||||||
break;
|
break;
|
||||||
|
|
@ -190,6 +193,9 @@ void tty_configure(void)
|
||||||
case 1200:
|
case 1200:
|
||||||
baudrate = B1200;
|
baudrate = B1200;
|
||||||
break;
|
break;
|
||||||
|
case 1800:
|
||||||
|
baudrate = B1800;
|
||||||
|
break;
|
||||||
case 2400:
|
case 2400:
|
||||||
baudrate = B2400;
|
baudrate = B2400;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue