mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-06 23:04:57 +01:00
Remove uneccessary reset that was causing problems on OSX
This commit is contained in:
parent
4cdf478efe
commit
d419f3f23b
1 changed files with 0 additions and 1 deletions
|
|
@ -255,7 +255,6 @@ def open(self) :
|
||||||
raise DeviceError()
|
raise DeviceError()
|
||||||
self.handle = self.device.open()
|
self.handle = self.device.open()
|
||||||
self.handle.claimInterface(self.device_descriptor.interface_id)
|
self.handle.claimInterface(self.device_descriptor.interface_id)
|
||||||
self.handle.reset()
|
|
||||||
res = self._send_validated_command(GetUSBProtocolVersion())
|
res = self._send_validated_command(GetUSBProtocolVersion())
|
||||||
if res.code != 0: raise ProtocolError("Unable to get USB Protocol version.")
|
if res.code != 0: raise ProtocolError("Unable to get USB Protocol version.")
|
||||||
version = self._bulk_read(24, data_type=USBProtocolVersion)[0].version
|
version = self._bulk_read(24, data_type=USBProtocolVersion)[0].version
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue