diff --git a/src/lib/drivers/pn53x_usb.c b/src/lib/drivers/pn53x_usb.c index 3a423e2..329fb9f 100644 --- a/src/lib/drivers/pn53x_usb.c +++ b/src/lib/drivers/pn53x_usb.c @@ -147,7 +147,7 @@ bool pn53x_usb_list_devices(nfc_device_desc_t pnddDevices[], size_t szDevices, s return false; } -nfc_device_t* pn53x_usb_connect(const nfc_device_desc_t* pndd, char * target_name, int target_chip) +nfc_device_t* pn53x_usb_connect(const nfc_device_desc_t* pndd,const char * target_name, int target_chip) { nfc_device_t* pnd = NULL; usb_spec_t* pus; diff --git a/src/lib/drivers/pn53x_usb.h b/src/lib/drivers/pn53x_usb.h index f7b21d4..8bf7d0b 100644 --- a/src/lib/drivers/pn53x_usb.h +++ b/src/lib/drivers/pn53x_usb.h @@ -38,7 +38,7 @@ typedef struct { u_int16_t idProduct; } usb_candidate_t; -nfc_device_t* pn53x_usb_connect(const nfc_device_desc_t* pndd, char * target_name, int target_chip); +nfc_device_t* pn53x_usb_connect(const nfc_device_desc_t* pndd,const char * target_name, int target_chip); void get_end_points(struct usb_device *dev, usb_spec_t* pus); void pn53x_usb_disconnect(nfc_device_t* pnd); bool pn53x_usb_transceive(const nfc_device_spec_t nds, const byte_t* pbtTx, const size_t szTxLen, byte_t* pbtRx, size_t* pszRxLen);