summaryrefslogtreecommitdiff
path: root/hidraw.c
diff options
context:
space:
mode:
authorPeter Wu <lekensteyn@gmail.com>2013-04-29 19:05:28 +0200
committerPeter Wu <lekensteyn@gmail.com>2013-04-29 19:05:28 +0200
commite9bb1ae6ff87c117a18ba369b3736be35f3a018d (patch)
tree948e63f18e5e07dc6a365d322253f9de98156d9a /hidraw.c
parent0c6200cd5ff4d0cdd3a6666669e896573bb2d0a4 (diff)
downloadltunify-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