make bitrate mapping of B230400 depend on its defined'ness
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user