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:
parent
2766cd8822
commit
a3f68b566d
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ typedef struct {
|
||||||
// Set time-out on 30 miliseconds
|
// Set time-out on 30 miliseconds
|
||||||
const struct timeval timeout = {
|
const struct timeval timeout = {
|
||||||
.tv_sec = 0, // 0 second
|
.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
|
// Work-around to claim uart interface using the c_iflag (software input processing) from the termios struct
|
||||||
|
|
Loading…
Reference in a new issue