OpenBSD and FreeBSD 4 do not seem to know about all termios speeds (M. Dolze)
This commit is contained in:
@@ -67,8 +67,10 @@ unsigned int bitrate_conversion[][2] = {
|
|||||||
{ 38400, B38400 },
|
{ 38400, B38400 },
|
||||||
{ 57600, B57600 },
|
{ 57600, B57600 },
|
||||||
{ 115200, B115200 },
|
{ 115200, B115200 },
|
||||||
{ 230400, B230400 },
|
{ 230400, B230400 }
|
||||||
{ 460800, B460800 }
|
#if defined(B460800)
|
||||||
|
, { 460800, B460800 }
|
||||||
|
#endif
|
||||||
#if defined(B500000)
|
#if defined(B500000)
|
||||||
, { 500000, B500000 }
|
, { 500000, B500000 }
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user