File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7
7
8
8
## [ Unreleased]
9
9
10
+ ### Fixed
11
+ * Fixed a defect where enumeration may fail due to timing-related issues ([ #128 ] ( https://github.com/rust-embedded-community/usb-device/issues/128 ) )
12
+
10
13
### Added
11
14
* New enums and allocators for Isochronous endpoints ([ #60 ] ( https://github.com/rust-embedded-community/usb-device/pull/60 ) ).
12
15
* Ability to select USB revision ([ #116 ] ( https://github.com/rust-embedded-community/usb-device/pull/116 ) ).
Original file line number Diff line number Diff line change @@ -191,6 +191,11 @@ impl<B: UsbBus> ControlPipe<'_, B> {
191
191
self . state = ControlState :: Idle ;
192
192
return true ;
193
193
}
194
+ ControlState :: Idle => {
195
+ // If we received a message on EP0 while sending the last portion of an IN
196
+ // transfer, we may have already transitioned to IDLE without getting the last
197
+ // IN-complete status. Just ignore this indication.
198
+ }
194
199
_ => {
195
200
// Unexpected IN packet
196
201
self . set_error ( ) ;
You can’t perform that action at this time.
0 commit comments