Raise up timeout value in UART, this is tricky (ugly?) hack to allow low speed UART device to run nfc-emulate.

This commit is contained in:
Romuald Conty 2010-04-13 14:36:02 +00:00
parent 2766cd8822
commit a3f68b566d

View file

@ -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