Skip to content

macOS: Error reporting/hid_error implementation (libusb#314) - #2

Merged
fengjixuchui merged 2 commits into
fengjixuchui:masterfrom
libusb:master
Oct 14, 2022
Merged

fengjixuchui merged 2 commits into
fengjixuchui:masterfrom
libusb:master

Conversation

@fengjixuchui

Copy link
Copy Markdown
Owner

No description provided.

thesilvanator and others added 2 commits September 28, 2022 17:08
- When `libusb_submit_transfer` in `read_thread` fails, `read_callback` never gets called and never sets `transfer_loop_finished` to true, causing `read_thread` to loop indefinitely;

- Do not attempt to run a read loop if the initial `libusb_submit_transfer` fails fixes the issue;

Fixes: #456
@fengjixuchui
fengjixuchui merged commit 6f8a43b into fengjixuchui:master Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants