Skip to content

Commit 39f063d

Browse files
committed
treewide: Remove critical-section-impl crate features
avr-device no longer has a `critical-section-impl` feature. Instead it now has a `critical-section` feature that is enabled by default [1]. As such, we can drop the re-exposed feature here. [1]: Rahix/avr-device#195
1 parent ad6ecca commit 39f063d

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

arduino-hal/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ categories = ["no-std", "embedded", "hardware-support"]
1414
default = ["rt"]
1515
rt = ["avr-device/rt"]
1616

17-
critical-section-impl = ["avr-device/critical-section-impl"]
18-
1917
board-selected = []
2018
mcu-atmega = []
2119
mcu-attiny = []

mcu/atmega-hal/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ atmega1284p = ["avr-device/atmega1284p", "device-selected"]
2929
atmega8 = ["avr-device/atmega8", "device-selected"]
3030
atmega88p = ["avr-device/atmega88p", "device-selected"]
3131

32-
critical-section-impl = ["avr-device/critical-section-impl"]
33-
3432
# Allow certain downstream crates to overwrite the device selection error by themselves.
3533
disable-device-selection-error = []
3634

mcu/attiny-hal/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ attiny88 = ["avr-device/attiny88", "device-selected"]
1919
attiny167 = ["avr-device/attiny167", "device-selected"]
2020
attiny2313 = ["avr-device/attiny2313", "device-selected"]
2121

22-
critical-section-impl = ["avr-device/critical-section-impl"]
23-
2422
# Allow certain downstream crates to overwrite the device selection error by themselves.
2523
disable-device-selection-error = []
2624

0 commit comments

Comments
 (0)