aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-stm32/src/ipcc.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/embassy-stm32/src/ipcc.rs b/embassy-stm32/src/ipcc.rs
index a54cf8faf..903aeca30 100644
--- a/embassy-stm32/src/ipcc.rs
+++ b/embassy-stm32/src/ipcc.rs
@@ -170,16 +170,6 @@ impl sealed::Instance for crate::peripherals::IPCC {
170 } 170 }
171} 171}
172 172
173/// extension trait that constrains the [`Ipcc`] peripheral
174pub trait IpccExt<'d> {
175 fn constrain(self) -> Ipcc<'d>;
176}
177impl<'d> IpccExt<'d> for IPCC {
178 fn constrain(self) -> Ipcc<'d> {
179 Ipcc { _peri: self.into_ref() }
180 }
181}
182
183unsafe fn _configure_pwr() { 173unsafe fn _configure_pwr() {
184 let rcc = crate::pac::RCC; 174 let rcc = crate::pac::RCC;
185 175