]> sigrok.org Git - libsigrok.git/commit
sr: fx2lafw: Handle the transfer's status
authorLars-Peter Clausen <redacted>
Sun, 24 Jun 2012 14:45:08 +0000 (16:45 +0200)
committerUwe Hermann <redacted>
Wed, 27 Jun 2012 22:40:52 +0000 (00:40 +0200)
commit7ce737a77c0d29276cdda4f3670c1ef41173bb9c
tree916807e3b097d16545bd209d87df75c28bcf7b1f
parent17dff8a1e6faaec02ed99715f2914b15b4cab82e
sr: fx2lafw: Handle the transfer's status

While errors are usually already implicitly caught by looking at the packet
length field there is one error status which is worth special handling. If the
device has been removed there is not really a chance to recover from this error
so data acquisition can be stopped immediately.

Signed-off-by: Lars-Peter Clausen <redacted>
hardware/fx2lafw/fx2lafw.c