diff --git a/src/dev_arygon.h b/src/dev_arygon.h index bef3eac..cc70bd4 100644 --- a/src/dev_arygon.h +++ b/src/dev_arygon.h @@ -25,7 +25,7 @@ along with this program. If not, see #include "types.h" // Functions used by developer to handle connection to this device -dev_info* dev_arygon_connect(const nfc_device_desc_t* device_desc); +dev_info* dev_arygon_connect(const nfc_device_desc_t* pndd); void dev_arygon_disconnect(dev_info* pdi); // Callback function used by libnfc to transmit commands to the PN53X chip diff --git a/src/libnfc.c b/src/libnfc.c index 72c0d00..25ba31e 100644 --- a/src/libnfc.c +++ b/src/libnfc.c @@ -870,7 +870,7 @@ bool nfc_target_receive_dep_bytes(const dev_info* pdi, byte_t* pbtRx, size_t* ps bool nfc_target_receive_bytes(const dev_info* pdi, byte_t* pbtRx, size_t* pszRxLen) { byte_t abtRx[MAX_FRAME_LEN]; - uint32_t szRxLen; + size_t szRxLen; // Try to gather a received frame from the reader if (!pn53x_transceive(pdi,pncmd_target_receive,2,abtRx,&szRxLen)) return false;