Fixed build of the "hayes" modem on MacOS X

This commit is contained in:
Pierre Pronchery 2012-07-31 19:30:22 +00:00
parent 1cdb615951
commit 02a52cf88b

View File

@ -2189,10 +2189,14 @@ static unsigned int _reset_configure_baudrate(ModemPlugin * modem,
return B115200;
case 230400:
return B230400;
#ifdef B460800
case 460800:
return B460800;
#endif
#ifdef B921600
case 921600:
return B921600;
#endif
default:
error_set("%u%s", baudrate,
"Unsupported baudrate (using 115200)");