forked from karalabe/hid
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
introduce a HidError which also contains the errno value (currently n…
…ot exported), not only the error text this is mainly to detect if a systemcall was interrupted by a signal which may happen since go1.14 due to preemtible goroutines. at least the hidraw backend is affected as it uses syscalls to read/wrtie data.
- Loading branch information
Showing
2 changed files
with
74 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters