From 743fa048e1bde9201c9c348d904a6e3ddf6df197 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Tue, 5 Apr 2011 13:39:47 +0000 Subject: [PATCH] pn53x: adapt MaxRetries to avoid issue with 2 tags on PN531, using same value as what LoGO does --- libnfc/chips/pn53x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnfc/chips/pn53x.c b/libnfc/chips/pn53x.c index ef867a4..30aa911 100644 --- a/libnfc/chips/pn53x.c +++ b/libnfc/chips/pn53x.c @@ -896,7 +896,7 @@ pn53x_configure (nfc_device_t * pnd, const nfc_device_option_t ndo, const bool b RFCI_RETRY_SELECT, (bEnable) ? 0xff : 0x00, // MxRtyATR, default: active = 0xff, passive = 0x02 (bEnable) ? 0xff : 0x00, // MxRtyPSL, default: 0x01 - (bEnable) ? 0xff : 0x01 // MxRtyPassiveActivation, default: 0xff (0x00 leads to problems with PN531) + (bEnable) ? 0xff : 0x02 // MxRtyPassiveActivation, default: 0xff (0x00 leads to problems with PN531) }; if (!pn53x_transceive (pnd, abtCmd, sizeof (abtCmd), NULL, NULL)) return false;