make bitrate mapping of B230400 depend on its defined'ness

This commit is contained in:
marschap
2007-04-27 14:28:41 +00:00
parent 64b951bde3
commit 63dec68eeb
+4 -2
View File
@@ -66,8 +66,10 @@ unsigned int bitrate_conversion[][2] = {
{ 19200, B19200 },
{ 38400, B38400 },
{ 57600, B57600 },
{ 115200, B115200 },
{ 230400, B230400 }
{ 115200, B115200 }
#if defined(B230400)
, { 230400, B230400 }
#endif
#if defined(B460800)
, { 460800, B460800 }
#endif