Fixed build of the "hayes" modem on MacOS X
This commit is contained in:
parent
1cdb615951
commit
02a52cf88b
@ -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)");
|
||||
|
Loading…
Reference in New Issue
Block a user