aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-stm32/src/gpio.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/gpio.rs b/embassy-stm32/src/gpio.rs
index bdb18187c..3c4cdb887 100644
--- a/embassy-stm32/src/gpio.rs
+++ b/embassy-stm32/src/gpio.rs
@@ -621,7 +621,7 @@ pub(crate) mod sealed {
621 } 621 }
622} 622}
623 623
624pub trait Pin: Into<AnyPin> + sealed::Pin + Sized + 'static { 624pub trait Pin: Peripheral<P = Self> + Into<AnyPin> + sealed::Pin + Sized + 'static {
625 #[cfg(feature = "exti")] 625 #[cfg(feature = "exti")]
626 type ExtiChannel: crate::exti::Channel; 626 type ExtiChannel: crate::exti::Channel;
627 627