X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/rigol/blobdiff_plain/b131d433f9b984b50266298be6f0cf7f9a13b6fb..713be7a43ed11947c358fc67c11b9df7b0be204c:/usbtmc.c diff --git a/usbtmc.c b/usbtmc.c index 054e49c..8a35dd3 100644 --- a/usbtmc.c +++ b/usbtmc.c @@ -110,8 +110,6 @@ void usbtmc_claim(usb_dev_handle *sc) void usbtmc_release(usb_dev_handle *sc) { - //Disable keylock, so the user doesn't have to press the 'force'-button - usbtmc_sendscpi(sc, ":KEY:LOCK DISABLE",NULL,0); usb_release_interface(sc, 0); } @@ -128,8 +126,6 @@ usb_dev_handle* usbtmc_initscope(void) { if (!dev) { printf("No scope found.\n"); exit(1); - } else { - printf("Scope found.\n"); } usbtmc_claim(dev); //The following code isn't really necessary, the program works