]> sigrok.org Git - libsigrok.git/commit
motech-lps-30x: Mark serial read call as nonblocking.
authorMartin Ling <redacted>
Sun, 21 Sep 2014 17:59:45 +0000 (18:59 +0100)
committerUwe Hermann <redacted>
Wed, 24 Sep 2014 21:30:31 +0000 (23:30 +0200)
commite050124095c3e0109ead1fc162504cc513a4e08c
tree061a96ffdc06814d8d60c7297f370de6389dd6ba
parent51056d61ec66124b236072ce9d28162ddecdcdcd
motech-lps-30x: Mark serial read call as nonblocking.

This call was already nonblocking since the driver opens the port with the
SERIAL_NONBLOCK flag. It only reads one byte, and a zero result is handled
appropriately.
src/hardware/motech-lps-30x/protocol.c