From 4b5d3913d9d8430d466bfae52f8efb2f27f1eb57 Mon Sep 17 00:00:00 2001 From: Emanuele Bertoldi Date: Tue, 15 Jun 2010 15:10:11 +0000 Subject: [PATCH] Cleanup. --- examples/nfc-sam.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/nfc-sam.c b/examples/nfc-sam.c index 943f0de..983a1a8 100755 --- a/examples/nfc-sam.c +++ b/examples/nfc-sam.c @@ -89,7 +89,7 @@ int main(int argc, const char* argv[]) int mode = input-'0'+1; printf("\n"); if (mode <= 1 || mode >= 5) - return 1; + return EXIT_FAILURE; abtSAMConfig[2] = mode; @@ -107,7 +107,7 @@ int main(int argc, const char* argv[]) case WIRED_CARD_MODE: { - // Read the SAM's ATS (ATR). + // Read the SAM's info. if (nfc_initiator_select_tag(pnd,NM_ISO14443A_106,NULL,0,&nti)) { printf("The following (NFC) ISO14443A tag was found:\n\n");