Correct addition to frame length when reading
This commit is contained in:
parent
74deaee495
commit
aef2e8115f
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ class PN532:
|
||||||
might be returned!
|
might be returned!
|
||||||
"""
|
"""
|
||||||
# Read frame with expected length of data.
|
# Read frame with expected length of data.
|
||||||
response = self._read_data(length + 8)
|
response = self._read_data(length + 7)
|
||||||
if self.debug:
|
if self.debug:
|
||||||
print("Read frame:", [hex(i) for i in response])
|
print("Read frame:", [hex(i) for i in response])
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue