Skip to content

Commit 72fa492

Browse files
committed
longer timeout seems necessary
1 parent 6664444 commit 72fa492

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_pn532.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def get_firmware_version(self):
291291
"""Call PN532 GetFirmwareVersion function and return a tuple with the IC,
292292
Ver, Rev, and Support values.
293293
"""
294-
response = self.call_function(_COMMAND_GETFIRMWAREVERSION, 4, timeout=0.1)
294+
response = self.call_function(_COMMAND_GETFIRMWAREVERSION, 4, timeout=0.5)
295295
if response is None:
296296
raise RuntimeError('Failed to detect the PN532')
297297
return tuple(response)

0 commit comments

Comments
 (0)