diff options
author | Anthony Shaw <anthony.p.shaw@gmail.com> | 2020-01-04 12:56:31 (GMT) |
---|---|---|
committer | T. Wouters <thomas@python.org> | 2020-01-04 12:56:31 (GMT) |
commit | 7dc72b8d4f2c9d1eed20f314fd6425eab66cbc89 (patch) | |
tree | 17897345c788d179523cc7d71a0b707b2bc6c923 /Modules | |
parent | 3a5de511596f17575de082dcb8d43d63b2bd2da9 (diff) | |
download | cpython-7dc72b8d4f2c9d1eed20f314fd6425eab66cbc89.zip cpython-7dc72b8d4f2c9d1eed20f314fd6425eab66cbc89.tar.gz cpython-7dc72b8d4f2c9d1eed20f314fd6425eab66cbc89.tar.bz2 |
bpo-28367: Add additional baud rates for termios (GH-13142)
Co-authored-by: Andrey Smirnov <andrew.smirnov@gmail.com>.
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/termios.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Modules/termios.c b/Modules/termios.c index b3b8c72..0fd93c0 100644 --- a/Modules/termios.c +++ b/Modules/termios.c @@ -613,6 +613,39 @@ static struct constant { #ifdef B460800 {"B460800", B460800}, #endif +#ifdef B500000 + {"B500000", B500000}, +#endif +#ifdef B576000 + { "B576000", B576000}, +#endif +#ifdef B921600 + { "B921600", B921600}, +#endif +#ifdef B1000000 + { "B1000000", B1000000}, +#endif +#ifdef B1152000 + { "B1152000", B1152000}, +#endif +#ifdef B1500000 + { "B1500000", B1500000}, +#endif +#ifdef B2000000 + { "B2000000", B2000000}, +#endif +#ifdef B2500000 + { "B2500000", B2500000}, +#endif +#ifdef B3000000 + { "B3000000", B3000000}, +#endif +#ifdef B3500000 + { "B3500000", B3500000}, +#endif +#ifdef B4000000 + { "B4000000", B4000000}, +#endif #ifdef CBAUD {"CBAUD", CBAUD}, #endif |