mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-13 02:53:46 +00:00
ensure USB name is blank before we start
This commit is contained in:
@@ -80,6 +80,7 @@ bool pn53x_usb_list_devices(nfc_device_desc_t pnddDevices[], size_t szDevices, s
|
|||||||
uint32_t uiBusIndex = 0;
|
uint32_t uiBusIndex = 0;
|
||||||
char string[256];
|
char string[256];
|
||||||
|
|
||||||
|
string[0]= '\0';
|
||||||
usb_init();
|
usb_init();
|
||||||
|
|
||||||
if ((ret= usb_find_busses() < 0)) return NULL;
|
if ((ret= usb_find_busses() < 0)) return NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user