Skip to content

Commit

Permalink
Merge pull request #54 from tuna-f1sh/stall_retry
Browse files Browse the repository at this point in the history
nusb: retry control request on stall
  • Loading branch information
tuna-f1sh authored Dec 5, 2024
2 parents f34934c + 5130dd3 commit 0f0bd17
Show file tree
Hide file tree
Showing 6 changed files with 160 additions and 126 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## [Unreleased]

### Fixed

- control read endpoint stall will be re-attempted after clearing halt ([#54](https://github.com/tuna-f1sh/cyme/pull/54)).

### Changed

- macOS: claim interface when reading Debug Descriptors.

## [2.1.1] - 2024-12-01

Minor updates to match `lsusb` updates. Fixing bugs playing with USB gadgets!
Expand Down
119 changes: 59 additions & 60 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ pub enum ErrorKind {
LibUSB,
/// nusb error
Nusb,
/// Stall in control request transfer
TransferStall,
/// Error calling udev
Udev,
/// Invalid arg for method or cli
Expand Down
Loading

0 comments on commit 0f0bd17

Please sign in to comment.