From a3f68b566d28812bdd521ec3b1682092fa57ff72 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Tue, 13 Apr 2010 14:36:02 +0000 Subject: [PATCH] Raise up timeout value in UART, this is tricky (ugly?) hack to allow low speed UART device to run nfc-emulate. --- libnfc/buses/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnfc/buses/uart.c b/libnfc/buses/uart.c index e17ebc4..d727d74 100644 --- a/libnfc/buses/uart.c +++ b/libnfc/buses/uart.c @@ -53,7 +53,7 @@ typedef struct { // Set time-out on 30 miliseconds const struct timeval timeout = { .tv_sec = 0, // 0 second - .tv_usec = 30000 // 30000 micro seconds + .tv_usec = 50000 // 50 ms }; // Work-around to claim uart interface using the c_iflag (software input processing) from the termios struct