Fixed _write_chunk for hid_version==2

pull/1/head
slush0 8 years ago
parent 9b409ae6a4
commit 6aaa5928e2

@ -87,7 +87,7 @@ class _HidTransport(object):
raise Exception("Unexpected data length")
if self.hid_version == 2:
self.hid.write([0,] + chunk)
self.hid.write(b'\0' + chunk)
else:
self.hid.write(chunk)

Loading…
Cancel
Save