diff --git a/include/nfc/nfc-types.h b/include/nfc/nfc-types.h index 5ae639d..ca8d7e9 100644 --- a/include/nfc/nfc-types.h +++ b/include/nfc/nfc-types.h @@ -87,15 +87,6 @@ typedef struct { uint32_t uiBusIndex; } nfc_device_desc_t; -/** - * @struct chip_callbacks - * @brief Functions for chip specific functions. - */ -struct chip_callbacks { - /** Error lookup */ - const char *(*strerror) (const nfc_device_t * pnd); -}; - // Compiler directive, set struct alignment to 1 byte_t for compatibility # pragma pack(1) diff --git a/libnfc/chips/pn53x.h b/libnfc/chips/pn53x.h index 9918096..d05ee04 100644 --- a/libnfc/chips/pn53x.h +++ b/libnfc/chips/pn53x.h @@ -299,9 +299,6 @@ bool pn53x_target_send_bits (nfc_device_t * pnd, const byte_t * pbtTx, const bool pn53x_target_send_bytes (nfc_device_t * pnd, const byte_t * pbtTx, const size_t szTx); // Error handling functions const char *pn53x_strerror (const nfc_device_t * pnd); -static const struct chip_callbacks pn53x_callbacks_list = { - pn53x_strerror -}; // C wrappers for PN53x commands bool pn53x_SetParameters (nfc_device_t * pnd, const uint8_t ui8Value);