move usb_close to usbtmc, fix memory leak
[rigol] / usbtmc.h
index 358cad364b277b56210de215eea5793def2b2e75..175511e8926fa69247ca13540c42bcc614a8dc98 100644 (file)
--- a/usbtmc.h
+++ b/usbtmc.h
@@ -1,2 +1,3 @@
 int usbtmc_sendscpi(usb_dev_handle *dev, char* cmd, unsigned char *resp, int resplen);
 usb_dev_handle* usbtmc_initscope(void);
+void usbtmc_close(usb_dev_handle *sc);
Impressum, Datenschutz