pn53x: adapt MaxRetries to avoid issue with 2 tags on PN531, using same value as what LoGO does

This commit is contained in:
Philippe Teuwen 2011-04-05 13:39:47 +00:00
parent fae451d236
commit 743fa048e1

View file

@ -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;