File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ riscv = { version = "0.6.0", optional = true }
14
14
cortex-m = { version = " 0.7.0" , optional = true }
15
15
embedded-hal = " 0.2.4"
16
16
vcell = " 0.1.0"
17
- usb-device = " 0.2.3 "
17
+ usb-device = " 0.2.9 "
18
18
19
19
[patch .crates-io ]
20
- usb-device = { git = " https://github.com/dgoodlad /usb-device" , branch = " crabdac " }
20
+ usb-device = { git = " https://github.com/ianrrees /usb-device" , branch = " isochronous " }
21
21
22
22
[package .metadata .docs .rs ]
23
23
features = [' cortex-m' , ' fs' ]
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ impl EndpointIn {
147
147
match self . descriptor . ep_type {
148
148
// Isochronous endpoints must set the correct even/odd frame bit to
149
149
// correspond with the next frame's number.
150
- EndpointType :: Isochronous ( _ ) => {
150
+ EndpointType :: Isochronous { .. } => {
151
151
// Previous frame number is OTG_DSTS.FNSOF
152
152
let frame_number = read_reg ! ( otg_device, device, DSTS , FNSOF ) ;
153
153
if frame_number & 0x1 == 1 {
@@ -233,7 +233,7 @@ impl EndpointOut {
233
233
match self . descriptor . ep_type {
234
234
// Isochronous endpoints must set the correct even/odd frame bit to
235
235
// correspond with the next frame's number.
236
- EndpointType :: Isochronous ( _ ) => {
236
+ EndpointType :: Isochronous { .. } => {
237
237
// Previous frame number is OTG_DSTS.FNSOF
238
238
let frame_number = read_reg ! ( otg_device, device, DSTS , FNSOF ) ;
239
239
if frame_number & 0x1 == 1 {
You can’t perform that action at this time.
0 commit comments