hackrf_info: continue probing devices after errors

This commit is contained in:
Dominic Spill
2017-02-23 14:34:41 -07:00
parent c89364b2a8
commit c2e775b1b9

View File

@ -71,6 +71,9 @@ int main(void)
if (result != HACKRF_SUCCESS) {
fprintf(stderr, "hackrf_open() failed: %s (%d)\n",
hackrf_error_name(result), result);
if(result == HACKRF_ERROR_LIBUSB) {
continue;
}
return EXIT_FAILURE;
}