]> sigrok.org Git - libsigrok.git/commitdiff
fluke-dmm: Make serial write calls block, and fix error handling.
authorMartin Ling <redacted>
Sun, 21 Sep 2014 17:26:16 +0000 (18:26 +0100)
committerUwe Hermann <redacted>
Wed, 24 Sep 2014 21:30:30 +0000 (23:30 +0200)
These calls are executed from an event handler and were previously nonblocking,
but have no partial write handling. They send short packets so should be OK to
block, most likely the output buffer will be empty anyway.

Also fix error handling for these calls, which seems to have been retained from
previous direct usage of write() to a serial port fd.


No differences found