diff options
-rw-r--r-- | Linux_x86/phDal4Nfc_uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Linux_x86/phDal4Nfc_uart.c b/Linux_x86/phDal4Nfc_uart.c index 6c3a00f..bb891e3 100644 --- a/Linux_x86/phDal4Nfc_uart.c +++ b/Linux_x86/phDal4Nfc_uart.c @@ -287,7 +287,7 @@ int phDal4Nfc_uart_read(uint8_t * pBuffer, int nNbBytesToRead) FD_SET(gComPortContext.nHandle, &rfds); tv.tv_sec = 2; tv.tv_usec = 0; - ret = select(gComPortContext.nHandle + 1, &rfds, NULL, NULL, &tv); + ret = select(gComPortContext.nHandle + 1, &rfds, NULL, NULL, NULL); if (ret < 0) { DAL_DEBUG("select() errno=%d", errno); if (errno == EINTR || errno == EAGAIN) { |