Skip to content

Commit

Permalink
hackrf_info: continue probing devices after errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicgs committed Feb 23, 2017
1 parent c89364b commit c2e775b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions host/hackrf-tools/src/hackrf_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit c2e775b

Please sign in to comment.