From e03fb8a916dd2694fef04c1e24a6e843e9d666b3 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Wed, 6 Oct 2010 10:02:12 +0000 Subject: [PATCH] Minor code clean up. --- libnfc/drivers/arygon.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libnfc/drivers/arygon.c b/libnfc/drivers/arygon.c index 1438062..d25c41d 100644 --- a/libnfc/drivers/arygon.c +++ b/libnfc/drivers/arygon.c @@ -292,14 +292,13 @@ arygon_transceive (nfc_device_t * pnd, const byte_t * pbtTx, const size_t szTxLe return true; } -//TODO Use tranceive function instead of raw uart send/receive for communication check. bool arygon_check_communication (const nfc_device_spec_t nds) { byte_t abtRx[BUFFER_LENGTH]; size_t szRxLen; const byte_t attempted_result[] = - { 0x00, 0x00, 0xff, 0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0x09, 0xf7, 0xD5, 0x01, 0x00, 'l', 'i', 'b', 'n', 'f', 'c', + { 0x00, 0x00, 0xff, 0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0x09, 0xf7, 0xd5, 0x01, 0x00, 'l', 'i', 'b', 'n', 'f', 'c', 0xbc, 0x00 }; int res;