ensure USB name is blank before we start
This commit is contained in:
parent
a3f573cdff
commit
a0cdc3e0d4
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user