diff options
author | Peter Wu <lekensteyn@gmail.com> | 2013-04-29 19:05:28 +0200 |
---|---|---|
committer | Peter Wu <lekensteyn@gmail.com> | 2013-04-29 19:05:28 +0200 |
commit | e9bb1ae6ff87c117a18ba369b3736be35f3a018d (patch) | |
tree | 948e63f18e5e07dc6a365d322253f9de98156d9a /hidraw.c | |
parent | 0c6200cd5ff4d0cdd3a6666669e896573bb2d0a4 (diff) | |
download | ltunify-e9bb1ae6ff87c117a18ba369b3736be35f3a018d.tar.gz |
ltunify: introduce read timeouts
In case a message does not get a response (user pulled out the receiver,
thunder hit the device, coke has fallen on a keyboard, etc.), do not wait
`for(;;)`. (2 seconds because accessing registers may be slow)
Diffstat (limited to 'hidraw.c')
0 files changed, 0 insertions, 0 deletions