fix: forgot some parentheses

This commit is contained in:
iceman1001 2017-09-26 22:26:57 +02:00
parent ee0409d8d0
commit 2954e1d040

View file

@ -227,9 +227,9 @@ bool uart_send(const serial_port sp, const byte_t* pbtTx, const size_t szTxLen)
while (szPos < szTxLen) { while (szPos < szTxLen) {
// Reset file descriptor // Reset file descriptor
FD_ZERO(&rfds); FD_ZERO(&rfds);
FD_SET((spu->fd, &rfds); FD_SET(spu->fd, &rfds);
tv = timeout; tv = timeout;
res = select((spu->fd+1, NULL, &rfds, NULL, &tv); res = select(spu->fd + 1, NULL, &rfds, NULL, &tv);
// Write error // Write error
if (res < 0) { if (res < 0) {