Skip to content

Commit

Permalink
fixup! feat(device-id/nrf): Use traits to enforce consistency, offer …
Browse files Browse the repository at this point in the history
…general accessor
  • Loading branch information
chrysn committed Oct 17, 2024
1 parent f9a0034 commit 2ccae4e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/riot-rs-nrf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ workspace = true

[dependencies]
cfg-if = { workspace = true }
defmt = { workspace = true, optional = true }
defmt = { workspace = true }
embassy-executor = { workspace = true, default-features = false, features = [
"arch-cortex-m",
] }
Expand Down Expand Up @@ -57,7 +57,8 @@ i2c = ["riot-rs-embassy-common/i2c", "embassy-executor/integrated-timers"]
usb = []

## Enables defmt support.
defmt = ["dep:defmt", "embassy-nrf/defmt"]
# (at least in dependencies; the crate itself needs it for its DeviceId type)
defmt = ["embassy-nrf/defmt"]

## Enables the interrupt executor.
executor-interrupt = ["embassy-executor/executor-interrupt"]

0 comments on commit 2ccae4e

Please sign in to comment.