From 35e9696ada5a161c2180200062e4ebb80fb70683 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Thu, 10 Mar 2011 14:43:59 +0000 Subject: [PATCH] pn53x-tamashell properly properly fixed --- examples/pn53x-tamashell.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/pn53x-tamashell.c b/examples/pn53x-tamashell.c index 6213ea8..9c79a28 100644 --- a/examples/pn53x-tamashell.c +++ b/examples/pn53x-tamashell.c @@ -165,6 +165,7 @@ int main(int argc, const char* argv[]) printf("Tx: "); print_hex((byte_t*)abtTx,szTx); + szRx = sizeof(abtRx); if (!pn53x_transceive (pnd, abtTx, szTx, abtRx, &szRx)) { free(cmd); nfc_perror (pnd, "Rx");