We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7a0ab87 + 8ddc8d3 commit c615907Copy full SHA for c615907
src/lib.rs
@@ -1,6 +1,7 @@
1
//! USB peripheral driver for nRF microcontrollers.
2
3
#![no_std]
4
+#![allow(mismatched_lifetime_syntaxes)] // TODO: Remove in follow-up PR.
5
6
mod errata;
7
mod pac;
src/usbd.rs
@@ -650,6 +650,7 @@ impl<T: UsbPeripheral> UsbBus for Usbd<T> {
650
// reset the state
651
state.in_transfer_state = TransferState::NoTransfer;
652
ep0_state.set(state);
653
+ busy_in_endpoints.update(|x| x & !1);
654
}
655
656
0 commit comments