ensure USB name is blank before we start

This commit is contained in:
Adam Laurie 2009-12-09 11:20:28 +00:00
parent a3f573cdff
commit a0cdc3e0d4

View file

@ -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;