diff --git a/examples/pn53x-diagnose.c b/examples/pn53x-diagnose.c index 7f402a6..aea6597 100644 --- a/examples/pn53x-diagnose.c +++ b/examples/pn53x-diagnose.c @@ -89,7 +89,7 @@ main (int argc, const char *argv[]) result = pn53x_transceive (pnd, pncmd_diagnose_communication_line_test, sizeof (pncmd_diagnose_communication_line_test), abtRx, &szRx); if (result) { - result = (memcmp (pncmd_diagnose_communication_line_test + 2, abtRx, sizeof (pncmd_diagnose_communication_line_test) - 2) == 0); + result = (memcmp (pncmd_diagnose_communication_line_test + 1, abtRx, sizeof (pncmd_diagnose_communication_line_test) - 1) == 0); } else { nfc_perror (pnd, "pn53x_transceive"); }