We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 202e5ee + 6824c32 commit 413b77cCopy full SHA for 413b77c
src/control_pipe.rs
@@ -150,7 +150,10 @@ impl<B: UsbBus> ControlPipe<'_, B> {
150
}
151
// The host may terminate a DATA stage early by sending a zero-length status packet
152
// acknowledging the data we sent it.
153
- ControlState::StatusOut | ControlState::DataIn | ControlState::DataInLast => {
+ ControlState::DataIn
154
+ | ControlState::DataInLast
155
+ | ControlState::DataInZlp
156
+ | ControlState::StatusOut => {
157
self.ep_out.read(&mut []).ok();
158
self.state = ControlState::Idle;
159
0 commit comments