From 81a1eb2c6cd095b9300f9833690e25bc4ee0f57d Mon Sep 17 00:00:00 2001 From: Romain Tartiere Date: Tue, 7 Sep 2010 13:34:48 +0000 Subject: [PATCH] Don't display authentication errors in examples. --- examples/mifare.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/mifare.c b/examples/mifare.c index 28db72c..0778c38 100644 --- a/examples/mifare.c +++ b/examples/mifare.c @@ -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; }