serial.c: OpenBSD doesn't have B460800.
This commit is contained in:
parent
262dd3e47d
commit
b97cbca6c9
|
@ -499,7 +499,7 @@ SR_PRIV int serial_set_params(struct sr_serial_dev_inst *serial, int baudrate,
|
||||||
case 230400:
|
case 230400:
|
||||||
baud = B230400;
|
baud = B230400;
|
||||||
break;
|
break;
|
||||||
#ifndef __APPLE__
|
#if !defined(__APPLE__) && !defined(__OpenBSD__)
|
||||||
case 460800:
|
case 460800:
|
||||||
baud = B460800;
|
baud = B460800;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue