scpi/usbtmc: Use sr_usb_close().
This commit is contained in:
parent
67e95ed37d
commit
0b2b92f6c3
|
@ -554,8 +554,7 @@ static int scpi_usbtmc_libusb_close(void *priv)
|
||||||
|
|
||||||
uscpi->detached_kernel_driver = 0;
|
uscpi->detached_kernel_driver = 0;
|
||||||
}
|
}
|
||||||
libusb_close(usb->devhdl);
|
sr_usb_close(usb);
|
||||||
usb->devhdl = NULL;
|
|
||||||
|
|
||||||
return SR_OK;
|
return SR_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue