Skip to content

Commit a1a4f66

Browse files
committed
2 parents 39e8a67 + 96736b8 commit a1a4f66

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ stm32c0 = { version = "0.16.0", optional = true }
3636
defmt = { version = "1.0.1", optional = true }
3737

3838
# Embedded-HAL traits and related libs. Featured-gated with `embedded-hal`.
39-
embedded-hal = { version = "1.0.0", features=["defmt-03"], optional = true }
40-
embedded-io = { version = "0.6.1", features=["defmt-03"], optional = true }
39+
embedded-hal = { version = "1.0.0", optional = true }
40+
embedded-io = { version = "0.6.1", optional = true }
4141

4242
# Enabled with the `monotonic` feature.
4343
rtic-monotonic = { version = "1.0.0", optional = true }

src/gpio.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,10 +363,9 @@ macro_rules! set_exti {
363363
exti.c1imr1().modify(|_, w| w.[<mr $num>]().bit(true));
364364
} else if #[cfg(any(feature = "g4", feature = "wb", feature = "wl"))] {
365365
exti.imr1().modify(|_, w| w.[<im $num>]().bit(true));
366+
} else if #[cfg(feature = "l4")]{
367+
exti.imr1().modify(|_, w| w.[<mr $num>]().bit(true));
366368
}
367-
// else {
368-
// exti.imr1().modify(|_, w| w.[<mr $num>]().bit(true));
369-
// }
370369
}
371370

372371
cfg_if! {

0 commit comments

Comments
 (0)