From 2954e1d0401e2b9588f9333d9ab931b7ddb37447 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 26 Sep 2017 22:26:57 +0200 Subject: [PATCH] fix: forgot some parentheses --- uart/uart_posix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uart/uart_posix.c b/uart/uart_posix.c index 9679af328..8d284140a 100644 --- a/uart/uart_posix.c +++ b/uart/uart_posix.c @@ -227,9 +227,9 @@ bool uart_send(const serial_port sp, const byte_t* pbtTx, const size_t szTxLen) while (szPos < szTxLen) { // Reset file descriptor FD_ZERO(&rfds); - FD_SET((spu->fd, &rfds); + FD_SET(spu->fd, &rfds); tv = timeout; - res = select((spu->fd+1, NULL, &rfds, NULL, &tv); + res = select(spu->fd + 1, NULL, &rfds, NULL, &tv); // Write error if (res < 0) {