diff --git a/Cargo.toml b/Cargo.toml index 06cab82a..771d9be9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,7 +37,7 @@ bitfield = "0.14.0" num-format = "0.4.4" humansize = "2.1.3" derive_more = "0.99.17" -nusb = "0.1.9" +nusb = "0.1.10" futures-lite = "2.0.1" futures-channel = "0.3.21" futures-util = "0.3.21" diff --git a/src/backend/cynthion.rs b/src/backend/cynthion.rs index ac6eb82d..afa5431c 100644 --- a/src/backend/cynthion.rs +++ b/src/backend/cynthion.rs @@ -434,13 +434,7 @@ impl CynthionQueue { self.queue.submit(RequestBuffer::new(READ_LEN)); } }, - // - // As of nusb 0.1.9, TransferError::Unknown may be - // returned instead of TransferError::Cancelled when - // Windows returns ERROR_OPERATION_ABORTED. This should - // be fixed in a future nusb release; see nusb PR #63. - // - Err(Cancelled | Unknown) if stop.is_terminated() => { + Err(Cancelled) if stop.is_terminated() => { // Transfer cancelled during shutdown. Drop it. drop(completion); if self.queue.pending() == 0 {