Fixed _write_chunk for hid_version==2

This commit is contained in:
slush0 2016-06-27 22:16:34 +02:00
parent 9b409ae6a4
commit 6aaa5928e2
1 changed files with 1 additions and 1 deletions

View File

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