Fix nfc_pick_device() when called from nfc_connect with NULL nfc_device_desc_t parameter (Fixes Issue 156)

This commit is contained in:
Romain Tartiere
2011-03-09 13:49:33 +00:00
parent cfc5273275
commit 605a5f2db3
3 changed files with 5 additions and 9 deletions

View File

@@ -206,9 +206,8 @@ pn53x_usb_probe (nfc_device_desc_t pnddDevices[], size_t szDevices, size_t * psz
}
}
}
if (*pszDeviceFound)
return true;
return false;
return true;
}
bool