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 */