From 5bc113792b41b181606d7f268b183abf0363ff97 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Thu, 10 Mar 2011 14:38:50 +0000 Subject: [PATCH] pn53x-tamashell properly fixed --- examples/pn53x-tamashell.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/pn53x-tamashell.c b/examples/pn53x-tamashell.c index 68e0cba..6213ea8 100644 --- a/examples/pn53x-tamashell.c +++ b/examples/pn53x-tamashell.c @@ -162,9 +162,8 @@ int main(int argc, const char* argv[]) free(cmd); continue; } - szTx++; printf("Tx: "); - print_hex((byte_t*)abtTx,szTx-1); + print_hex((byte_t*)abtTx,szTx); if (!pn53x_transceive (pnd, abtTx, szTx, abtRx, &szRx)) { free(cmd);