diff options
Diffstat (limited to 'usrp/host/apps/usrper.cc')
-rw-r--r-- | usrp/host/apps/usrper.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usrp/host/apps/usrper.cc b/usrp/host/apps/usrper.cc index 1c4beb713..9c6403c9d 100644 --- a/usrp/host/apps/usrper.cc +++ b/usrp/host/apps/usrper.cc @@ -191,10 +191,10 @@ main (int argc, char **argv) const char *cmd = argv[optind++]; nopts--; - usrp_one_time_init (); + libusb_context *ctx = usrp_one_time_init (true); - struct libusb_device *udev = usrp_find_device (which_board, fx2_ok_p); + struct libusb_device *udev = usrp_find_device (which_board, fx2_ok_p, ctx); if (udev == 0){ fprintf (stderr, "%s: failed to find usrp[%d]\n", prog_name, which_board); exit (1); |