1
0
mirror of https://github.com/wjwwood/serial.git synced 2026-01-22 19:54:57 +08:00

Silly little bug in the custom baud rate code. Should fix #18.

This commit is contained in:
William Woodall 2012-06-18 19:04:35 -05:00
parent da1207609f
commit 83ae470c78

View File

@ -231,7 +231,7 @@ Serial::SerialImpl::reconfigurePort ()
ser.flags &= ~ASYNC_SPD_MASK; ser.flags &= ~ASYNC_SPD_MASK;
ser.flags |= ASYNC_SPD_CUST; ser.flags |= ASYNC_SPD_CUST;
if (ioctl (fd_, TIOCSSERIAL, ser) < 0) { if (ioctl (fd_, TIOCSSERIAL, &ser) < 0) {
THROW (IOException, errno); THROW (IOException, errno);
} }
#else #else