Remove uneccessary reset that was causing problems on OSX

This commit is contained in:
Kovid Goyal 2006-11-30 02:04:11 +00:00
parent 4cdf478efe
commit d419f3f23b

View File

@ -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