mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Remove uneccessary reset that was causing problems on OSX
This commit is contained in:
parent
4cdf478efe
commit
d419f3f23b
@ -255,7 +255,6 @@ class PRS500Device(object):
|
|||||||
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…
x
Reference in New Issue
Block a user