mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-26 02:47:17 +00:00
Swap ifdef around for high speed baud rates to fix #254
This commit is contained in:
parent
5fd9e00dd3
commit
cf6d1025de
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ int ToBaudConstant(int baudRate) {
|
|||
case 57600: return B57600;
|
||||
case 115200: return B115200;
|
||||
case 230400: return B230400;
|
||||
#if !defined(__APPLE__) && !defined(__OpenBSD__)
|
||||
#if defined(__linux__)
|
||||
case 460800: return B460800;
|
||||
case 500000: return B500000;
|
||||
case 576000: return B576000;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue