diff options
| -rw-r--r-- | embassy-stm32/src/ipcc.rs | 10 |
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 | ||
| 174 | pub trait IpccExt<'d> { | ||
| 175 | fn constrain(self) -> Ipcc<'d>; | ||
| 176 | } | ||
| 177 | impl<'d> IpccExt<'d> for IPCC { | ||
| 178 | fn constrain(self) -> Ipcc<'d> { | ||
| 179 | Ipcc { _peri: self.into_ref() } | ||
| 180 | } | ||
| 181 | } | ||
| 182 | |||
| 183 | unsafe fn _configure_pwr() { | 173 | unsafe fn _configure_pwr() { |
| 184 | let rcc = crate::pac::RCC; | 174 | let rcc = crate::pac::RCC; |
| 185 | 175 | ||
