]> sigrok.org Git - libsigrok.git/commit
scpi: Pass SCPI device instance to open and close callbacks.
authorBert Vermeulen <redacted>
Mon, 21 Sep 2015 11:41:03 +0000 (13:41 +0200)
committerBert Vermeulen <redacted>
Mon, 21 Sep 2015 11:41:03 +0000 (13:41 +0200)
commit04229f7bfc750f2b67e8dd54ac82ae6bb7eae1e4
tree40cb32cd8b26becceccf9bfda7b32a69a1f2f6ff
parent27cd728f8a52026be5d83890c3d911fa29ee62f9
scpi: Pass SCPI device instance to open and close callbacks.

Only close() really needs this (for access to a Rigol firmware quirk),
but do the same in open() for consistency.
src/scpi.h
src/scpi/scpi.c
src/scpi/scpi_libgpib.c
src/scpi/scpi_serial.c
src/scpi/scpi_tcp.c
src/scpi/scpi_usbtmc_libusb.c
src/scpi/scpi_visa.c
src/scpi/scpi_vxi.c