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 }
1414cortex-m = { version = " 0.7.0" , optional = true }
1515embedded-hal = " 0.2.4"
1616vcell = " 0.1.0"
17- usb-device = " 0.2.3 "
17+ usb-device = " 0.2.9 "
1818
1919[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 " }
2121
2222[package .metadata .docs .rs ]
2323features = [' cortex-m' , ' fs' ]
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ impl EndpointIn {
147147 match self . descriptor . ep_type {
148148 // Isochronous endpoints must set the correct even/odd frame bit to
149149 // correspond with the next frame's number.
150- EndpointType :: Isochronous ( _ ) => {
150+ EndpointType :: Isochronous { .. } => {
151151 // Previous frame number is OTG_DSTS.FNSOF
152152 let frame_number = read_reg ! ( otg_device, device, DSTS , FNSOF ) ;
153153 if frame_number & 0x1 == 1 {
@@ -233,7 +233,7 @@ impl EndpointOut {
233233 match self . descriptor . ep_type {
234234 // Isochronous endpoints must set the correct even/odd frame bit to
235235 // correspond with the next frame's number.
236- EndpointType :: Isochronous ( _ ) => {
236+ EndpointType :: Isochronous { .. } => {
237237 // Previous frame number is OTG_DSTS.FNSOF
238238 let frame_number = read_reg ! ( otg_device, device, DSTS , FNSOF ) ;
239239 if frame_number & 0x1 == 1 {
You can’t perform that action at this time.
0 commit comments