mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-02-27 04:06:38 +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;
|
||||
char string[256];
|
||||
|
||||
string[0]= '\0';
|
||||
usb_init();
|
||||
|
||||
if ((ret= usb_find_busses() < 0)) return NULL;
|
||||
|
||||
Reference in New Issue
Block a user