]> sigrok.org Git - libsigrok.git/commit
scpi/usbtmc: fix remote locking according to USBTMC spec
authorStefan Brüns <redacted>
Sat, 16 Apr 2016 21:37:40 +0000 (23:37 +0200)
committerUwe Hermann <redacted>
Sat, 23 Apr 2016 15:08:44 +0000 (17:08 +0200)
commit66836720f73c12fb107aa28b79cc6420c721cc5d
tree353efecf5c77a0032cd7689dc4ad6d17bf3ca147
parent3db03efa4ad43f6d127c3d949a300596cac74ce9
scpi/usbtmc: fix remote locking according to USBTMC spec

According to USBTMC usb488 subclass spec, wValue hast to be 0 for both
LOCAL_LOCKOUT and GO_TO_LOCAL. At least required for R&S HMO1002, the
bad request results in a STALL. Fixes bug #783.
src/scpi/scpi_usbtmc_libusb.c