def close(self): """ Close the connection to this card. """ usb.release_interface(self.handle, 0) usb.close(self.handle) self.handle = None
def close(self): """ Close usb device. Arguments: None Return: None """ ret = usb.release_interface(self.libusb_handle, self.interface_nr) ret = usb.close(self.libusb_handle) return
def close(self): """ Close usb device. Arguments: None Return: None """ ret = usb.release_interface(self.libusb_handle,self.interface_nr) ret = usb.close(self.libusb_handle) return