mcuee / libusbk

libusbk official github repo
79 stars 37 forks source link

Special-case sync return from async call and preserve last error #55

Open tormodvolden opened 12 months ago

tormodvolden commented 12 months ago

These are a few things I noticed while reviewing the libusb0 backend code. They are not tested and do not fix any reported issues, but I believe they make the code more correct and will give better error diagnosis.

mcuee commented 11 months ago

@TravisRo

Hi Travis, I think this PR is safe to merge. Please review when you got the time. Thanks.