Skip to content

Commit

Permalink
Added Mac OS X support for 230400 baud
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewfb committed Jul 21, 2010
1 parent 6541628 commit 8c7c0e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cinder/Serial.cpp
Expand Up @@ -75,6 +75,7 @@ Serial::Obj::Obj( const Serial::Device &device, int baudRate )
baudToConstant[38400] = B38400;
baudToConstant[57600] = B57600;
baudToConstant[115200] = B115200;
baudToConstant[230400] = B230400;

int rateConstant = B9600;
if( baudToConstant.find( baudRate ) != baudToConstant.end() )
Expand Down

0 comments on commit 8c7c0e2

Please sign in to comment.