Skip to content

Commit

Permalink
Satisfy clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
JVital2013 committed Sep 29, 2024
1 parent f2aa678 commit 48dbc55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions host/libhackrf/src/hackrf.c
Original file line number Diff line number Diff line change
Expand Up @@ -729,11 +729,11 @@ static int hackrf_open_setup(libusb_device_handle* usb_device, hackrf_device** d
}

// WinUSB: Use RAW_IO to improve throughput on RX
//#if LIBUSB_API_VERSION >= 0x0100010B
if(libusb_endpoint_supports_raw_io(usb_device, RX_ENDPOINT_ADDRESS) == 1) {
//#if LIBUSB_API_VERSION >= 0x0100010B
if (libusb_endpoint_supports_raw_io(usb_device, RX_ENDPOINT_ADDRESS) == 1) {
libusb_endpoint_set_raw_io(usb_device, RX_ENDPOINT_ADDRESS, 1);
}
//#endif
//#endif

lib_device->usb_device = usb_device;
lib_device->transfers = NULL;
Expand Down

0 comments on commit 48dbc55

Please sign in to comment.