From 008f2a8d4c55a721150b814b9372efe96bf608b3 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Thu, 5 May 2011 11:46:12 +0000 Subject: [PATCH] Minor returns fixes. --- libnfc/chips/pn53x.c | 1 + libnfc/nfc.c | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/libnfc/chips/pn53x.c b/libnfc/chips/pn53x.c index 6bfbbe2..ef57c99 100644 --- a/libnfc/chips/pn53x.c +++ b/libnfc/chips/pn53x.c @@ -99,6 +99,7 @@ pn53x_reset_settings(nfc_device_t * pnd) if (!pn53x_write_register (pnd, REG_CIU_BIT_FRAMING, SYMBOL_TX_LAST_BITS, 0x00)) { return false; } + return true; } bool diff --git a/libnfc/nfc.c b/libnfc/nfc.c index 4ffebb7..521cabc 100644 --- a/libnfc/nfc.c +++ b/libnfc/nfc.c @@ -269,7 +269,6 @@ nfc_initiator_init (nfc_device_t * pnd) return false; HAL (initiator_init, pnd); - return true; } /** @@ -625,7 +624,6 @@ nfc_target_init (nfc_device_t * pnd, nfc_target_t * pnt, byte_t * pbtRx, size_t return false; HAL (target_init, pnd, pnt, pbtRx, pszRx); - return true; } /* TODO Document this function */