Don't display authentication errors in examples.

This commit is contained in:
Romain Tartiere 2010-09-07 13:34:48 +00:00
parent b9cb5b22c8
commit 81a1eb2c6c

View file

@ -67,6 +67,7 @@ bool nfc_initiator_mifare_cmd(nfc_device_t* pnd, const mifare_cmd mc, const uint
// Fire the mifare command // Fire the mifare command
if (!nfc_initiator_transceive_bytes(pnd,abtCmd,2+szParamLen,abtRx,&szRxLen)) { if (!nfc_initiator_transceive_bytes(pnd,abtCmd,2+szParamLen,abtRx,&szRxLen)) {
if (pnd->iLastError != 0x14)
nfc_perror (pnd, "nfc_initiator_transceive_bytes"); nfc_perror (pnd, "nfc_initiator_transceive_bytes");
return false; return false;
} }