Skip to content

Commit 1fcae39

Browse files
committed
whb04b: Change to interrupt
As sugested by Finngineering
1 parent cf291ac commit 1fcae39

File tree

1 file changed

+1
-1
lines changed
  • src/hal/user_comps/xhc-whb04b-6

1 file changed

+1
-1
lines changed

src/hal/user_comps/xhc-whb04b-6/usb.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ bool Usb::setupAsyncTransfer()
421421
return false;
422422
}
423423

424-
libusb_fill_bulk_transfer(inTransfer, deviceHandle,
424+
libusb_fill_interrupt_transfer(inTransfer, deviceHandle,
425425
(0x1 | LIBUSB_ENDPOINT_IN), inputPackageBuffer.asBuffer,
426426
sizeof(inputPackageBuffer.asBuffer), mRawDataCallback,
427427
//! pass this object as callback data

0 commit comments

Comments
 (0)