File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,7 @@ repository = "https://github.com/nrf-rs/nrf-usbd"
1818cortex-m = " 0.7.2"
1919usb-device = " 0.2.8"
2020vcell = " 0.1.3"
21- critical-section = " 0.2.4"
22- bare-metal = " 1.0.0"
21+ critical-section = " 1.0.0"
2322
2423[profile .dev ]
2524codegen-units = 1
Original file line number Diff line number Diff line change 66//! * Different events are used to initiate transfers.
77//! * No notification when the status stage is ACK'd.
88
9- use bare_metal:: Mutex ;
109use core:: cell:: Cell ;
1110use core:: mem:: MaybeUninit ;
1211use core:: sync:: atomic:: { compiler_fence, Ordering } ;
13- use critical_section:: CriticalSection ;
12+ use critical_section:: { CriticalSection , Mutex } ;
1413use usb_device:: {
1514 bus:: { PollResult , UsbBus , UsbBusAllocator } ,
1615 endpoint:: { EndpointAddress , EndpointType } ,
You can’t perform that action at this time.
0 commit comments