diff --git a/Cargo.toml b/Cargo.toml index 5a494a13..0374ed9a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,7 @@ embedded-hal = { version = "0.2.6", features = ["unproven"] } embedded-dma = "0.2.0" cortex-m = { version = "^0.7.7", features = ["critical-section-single-core"] } defmt = { version = ">=0.2.0,<0.4", optional = true } -stm32h7 = { version = "0.16.0", package = "stm32h7-staging", default-features = false } +stm32h7 = { version = "0.16.0", package = "stm32h7-staging", features = ["critical-section"], default-features = false } void = { version = "1.0.2", default-features = false } cast = { version = "0.3.0", default-features = false } nb = "1.0.0"