Remove obsolete callbacks
This commit is contained in:
parent
0265515a0c
commit
5f890fedcc
2 changed files with 0 additions and 12 deletions
|
@ -87,15 +87,6 @@ typedef struct {
|
||||||
uint32_t uiBusIndex;
|
uint32_t uiBusIndex;
|
||||||
} nfc_device_desc_t;
|
} 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
|
// Compiler directive, set struct alignment to 1 byte_t for compatibility
|
||||||
# pragma pack(1)
|
# pragma pack(1)
|
||||||
|
|
||||||
|
|
|
@ -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);
|
bool pn53x_target_send_bytes (nfc_device_t * pnd, const byte_t * pbtTx, const size_t szTx);
|
||||||
// Error handling functions
|
// Error handling functions
|
||||||
const char *pn53x_strerror (const nfc_device_t * pnd);
|
const char *pn53x_strerror (const nfc_device_t * pnd);
|
||||||
static const struct chip_callbacks pn53x_callbacks_list = {
|
|
||||||
pn53x_strerror
|
|
||||||
};
|
|
||||||
|
|
||||||
// C wrappers for PN53x commands
|
// C wrappers for PN53x commands
|
||||||
bool pn53x_SetParameters (nfc_device_t * pnd, const uint8_t ui8Value);
|
bool pn53x_SetParameters (nfc_device_t * pnd, const uint8_t ui8Value);
|
||||||
|
|
Loading…
Reference in a new issue