Skip to content

Commit

Permalink
Merge pull request #259 from JayBeavers/highSpeedLinux
Browse files Browse the repository at this point in the history
Swap ifdef around for high speed baud rates to fix #254
  • Loading branch information
JayBeavers committed Nov 14, 2013
2 parents 7403381 + cf6d102 commit 6f44a12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/serialport_unix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6f44a12

Please sign in to comment.