]> sigrok.org Git - libsigrok.git/commit
agilent-dmm: Make serial write call block in send.
authorMartin Ling <redacted>
Tue, 16 Sep 2014 01:14:23 +0000 (02:14 +0100)
committerUwe Hermann <redacted>
Wed, 24 Sep 2014 21:18:21 +0000 (23:18 +0200)
commita5053ddd216fb9ad9a7df6f4ce82dda863133685
tree1c5b2b73c8c4132e465835e406311a46c7e6eed3
parent485b9ae34d37395ef1a77b5aedb337446aafddb9
agilent-dmm: Make serial write call block in send.

This call is executed from an event handler context was previously
nonblocking, however there is no handling for a partial write.

The output buffer is unlikely to be full and the commands to be sent
are short, so it should be OK to make this a blocking call.
src/hardware/agilent-dmm/sched.c