]> sigrok.org Git - libsigrok.git/commit
kingst-la2016: use more specific error codes than SR_ERR
authorGerhard Sittig <redacted>
Mon, 31 Jan 2022 20:02:14 +0000 (21:02 +0100)
committerGerhard Sittig <redacted>
Sun, 6 Feb 2022 17:53:54 +0000 (18:53 +0100)
commit286b3e13cae38e42e5d8baa02f0cee60411e96c0
tree0e390ac742a28d73c69d7ad97282eaa518e9f088
parent3ab609080d3862dcf64148239e8151c8075fd1b8
kingst-la2016: use more specific error codes than SR_ERR

At least reflect whether arguments were invalid, whether communication
failed (I/O), or whether data was unexpected.
src/hardware/kingst-la2016/protocol.c