Correct addition to frame length when reading

This commit is contained in:
George Waters 2020-09-08 20:55:29 -04:00
parent 74deaee495
commit aef2e8115f
No known key found for this signature in database
GPG key ID: D993F8B1CC21DB25

View file

@ -249,7 +249,7 @@ class PN532:
might be returned!
"""
# Read frame with expected length of data.
response = self._read_data(length + 8)
response = self._read_data(length + 7)
if self.debug:
print("Read frame:", [hex(i) for i in response])