Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
USB: rewrite data transfer using libusb async API
To get consistent USB data transfers the USB code has been rewritten to use libusb bulk transfer API. Code based on https://github.com/mxk/burble/blob/8289cf0fc44087d483af11e06f3e8ed4fab235df/src/host/usb.rs#L414-L764 The main difference, however, is that I don't try to implement `Future` trait instead using a callback, which can decide to either drop the bulk tranfer buffer or resubmit it
- Loading branch information