diff options
author | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2022-08-12 15:32:35 +0200 |
---|---|---|
committer | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2022-08-17 20:19:16 +0200 |
commit | beed7433fb8dd80e6a395034aa90613c5d6d74fd (patch) | |
tree | 4f0942c15e067920fd5d72ce07de157c7fc47c79 /nrf-softdevice/Cargo.toml | |
parent | ab0ad770c729b4f034bf0a085b50347a3e6b2ea9 (diff) | |
download | nrf-softdevice-beed7433fb8dd80e6a395034aa90613c5d6d74fd.zip |
Add support for critical-section 1.0.
Diffstat (limited to 'nrf-softdevice/Cargo.toml')
-rw-r--r-- | nrf-softdevice/Cargo.toml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nrf-softdevice/Cargo.toml b/nrf-softdevice/Cargo.toml index 2d0b211..d69c884 100644 --- a/nrf-softdevice/Cargo.toml +++ b/nrf-softdevice/Cargo.toml @@ -28,7 +28,7 @@ ble-gatt = [] ble-gatt-server = ["ble-gatt"] ble-gatt-client = ["ble-gatt"] -critical-section-impl = ["critical-section/custom-impl"] +critical-section-impl = ["critical-section-1/restore-state-bool", "critical-section-02/custom-impl"] # Workaround l2cap credit bug. If set, infinite credits are issued # to the peer in batches. The `credits` config when establishing the channel is ignored. @@ -38,7 +38,8 @@ ble-l2cap-credit-wrokaround = [] [dependencies] defmt = { version = "0.3", optional = true } log = { version = "0.4.11", optional = true } -critical-section = { version = "0.2.1" } +critical-section-02 = { package = "critical-section", version = "0.2", optional = true } +critical-section-1 = { package = "critical-section", version = "1.0", optional = true } num_enum = { version = "0.5.1", default-features = false } embassy-util = { version = "0.1.0" } |