]> sigrok.org Git - libsigrok.git/commit
gmc-mh-1x-2x: Mark serial read call as nonblocking.
authorMartin Ling <redacted>
Sun, 21 Sep 2014 17:33:34 +0000 (18:33 +0100)
committerUwe Hermann <redacted>
Wed, 24 Sep 2014 21:30:30 +0000 (23:30 +0200)
commit0714a010ccd12514861eb24411fdb156299658a9
treee1eadf493c182206194115d9be99713dec151c52
parentbb27c76513c887ad28bbafafb34858ee2e548c6d
gmc-mh-1x-2x: 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/gmc-mh-1x-2x/api.c