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