]> sigrok.org Git - libsigrok.git/commit
colead-slm: Mark serial read calls as nonblocking.
authorMartin Ling <redacted>
Sun, 21 Sep 2014 16:54:18 +0000 (17:54 +0100)
committerUwe Hermann <redacted>
Wed, 24 Sep 2014 21:30:01 +0000 (23:30 +0200)
commitc9fc06d7f0b13798f9ce6f4187c0a676aa32a4d0
tree6c88eeb432fb8038a2197456e2cb6de33ca21851
parent258a23134ddf6b71f6dc8032ff4919ef50c20b97
colead-slm: Mark serial read calls as nonblocking.

This is an odd one. These calls are made from a receive handler so should not
block, and appear to be setup correctly to handle partial reads or no data
available. However, the driver was not opening the port with SERIAL_NONBLOCK
so these calls would have been blocking. Make them nonblocking.
src/hardware/colead-slm/protocol.c