diff --git a/examples/nfc-list.c b/examples/nfc-list.c index 3c696be..e20c16c 100644 --- a/examples/nfc-list.c +++ b/examples/nfc-list.c @@ -114,7 +114,7 @@ main (int argc, const char *argv[]) if (pnd == NULL) { ERR ("%s", "Unable to connect to NFC device."); - return 1; + return EXIT_FAILURE; } nfc_initiator_init (pnd); @@ -128,15 +128,6 @@ main (int argc, const char *argv[]) nfc_perror (pnd, "nfc_configure"); exit (EXIT_FAILURE); } - // Configure the CRC and Parity settings - if (!nfc_configure (pnd, NDO_HANDLE_CRC, true)) { - nfc_perror (pnd, "nfc_configure"); - exit (EXIT_FAILURE); - } - if (!nfc_configure (pnd, NDO_HANDLE_PARITY, true)) { - nfc_perror (pnd, "nfc_configure"); - exit (EXIT_FAILURE); - } // Enable field so more power consuming cards can power themselves up if (!nfc_configure (pnd, NDO_ACTIVATE_FIELD, true)) { nfc_perror (pnd, "nfc_configure");