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"
18
18
cortex-m = " 0.7.2"
19
19
usb-device = " 0.2.8"
20
20
vcell = " 0.1.3"
21
- critical-section = " 0.2.4"
22
- bare-metal = " 1.0.0"
21
+ critical-section = " 1.0.0"
23
22
24
23
[profile .dev ]
25
24
codegen-units = 1
Original file line number Diff line number Diff line change 6
6
//! * Different events are used to initiate transfers.
7
7
//! * No notification when the status stage is ACK'd.
8
8
9
- use bare_metal:: Mutex ;
10
9
use core:: cell:: Cell ;
11
10
use core:: mem:: MaybeUninit ;
12
11
use core:: sync:: atomic:: { compiler_fence, Ordering } ;
13
- use critical_section:: CriticalSection ;
12
+ use critical_section:: { CriticalSection , Mutex } ;
14
13
use usb_device:: {
15
14
bus:: { PollResult , UsbBus , UsbBusAllocator } ,
16
15
endpoint:: { EndpointAddress , EndpointType } ,
You can’t perform that action at this time.
0 commit comments