Skip to content

Commit 9e9335a

Browse files
authored
Merge pull request #47 from the-infinity/patch-1
accept longer ATS for ISO14443A-4 cards
2 parents 06c41a2 + d65fe24 commit 9e9335a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

adafruit_pn532/adafruit_pn532.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ def get_passive_target(self, timeout=1):
391391
card's UID. This reduces the amount of time spend checking for a card.
392392
"""
393393
response = self.process_response(
394-
_COMMAND_INLISTPASSIVETARGET, response_length=19, timeout=timeout
394+
_COMMAND_INLISTPASSIVETARGET, response_length=30, timeout=timeout
395395
)
396396
# If no response is available return None to indicate no card is present.
397397
if response is None:

adafruit_pn532/i2c.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class PN532_I2C(PN532):
3232
def __init__(self, i2c, *, irq=None, reset=None, req=None, debug=False):
3333
"""Create an instance of the PN532 class using I2C. Note that PN532
3434
uses clock stretching. Optional IRQ pin (not used),
35-
reset pin and debugging output.
35+
resetp pin and debugging output.
3636
"""
3737
self.debug = debug
3838
self._req = req

0 commit comments

Comments
 (0)