Skip to content

Commit f0eec21

Browse files
committed
Add features for selecting portable-atomic features
1 parent e229494 commit f0eec21

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

embedded-hal-bus/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ std = []
1919
atomic-device = []
2020
async = ["dep:embedded-hal-async"]
2121
defmt-03 = ["dep:defmt-03", "embedded-hal/defmt-03", "embedded-hal-async?/defmt-03"]
22+
portable-atomic-critical-section = ["atomic-device", "portable-atomic/critical-section"]
23+
portable-atomic-unsafe-assume-single-core = ["atomic-device", "portable-atomic/unsafe-assume-single-core"]
2224

2325
[dependencies]
2426
embedded-hal = { version = "1.0.0", path = "../embedded-hal" }

0 commit comments

Comments
 (0)