]> sigrok.org Git - libsigrok.git/commit
scpi_usbtmc_libusb: set_configuration only if it is not already set
authorAurelien Jacobs <redacted>
Thu, 24 Sep 2015 19:43:06 +0000 (21:43 +0200)
committerUwe Hermann <redacted>
Sat, 24 Oct 2015 19:32:13 +0000 (21:32 +0200)
commit938bdc25b766125350ba1fd46f5f95fdc813fb32
tree1e68c00faea449a4f7ded6cb636aa78013c8201d
parente40e9ca28d81d5ac43e1cb306390cfb7463b89e8
scpi_usbtmc_libusb: set_configuration only if it is not already set

This avoids the issues described here:
http://libusb.sourceforge.net/api-1.0/caveats.html#configsel
src/scpi/scpi_usbtmc_libusb.c