diff options
| author | Quentin Smith <[email protected]> | 2023-07-18 18:32:19 -0400 |
|---|---|---|
| committer | Quentin Smith <[email protected]> | 2023-07-18 18:32:19 -0400 |
| commit | 7555a1e3025a45a145734026c0f841d7c6c2625f (patch) | |
| tree | 4df8a31e897017ea7ba9c2369d06613716cf6812 | |
| parent | be7fbe50d7afe78988509be485d461494d77381a (diff) | |
cargo fmt
| -rw-r--r-- | embassy-nrf/src/pdm.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/embassy-nrf/src/pdm.rs b/embassy-nrf/src/pdm.rs index 4cee566c8..217884d1c 100644 --- a/embassy-nrf/src/pdm.rs +++ b/embassy-nrf/src/pdm.rs | |||
| @@ -17,8 +17,6 @@ use crate::gpio::{AnyPin, Pin as GpioPin}; | |||
| 17 | use crate::interrupt::typelevel::Interrupt; | 17 | use crate::interrupt::typelevel::Interrupt; |
| 18 | use crate::pac::pdm::mode::{EDGE_A, OPERATION_A}; | 18 | use crate::pac::pdm::mode::{EDGE_A, OPERATION_A}; |
| 19 | pub use crate::pac::pdm::pdmclkctrl::FREQ_A as Frequency; | 19 | pub use crate::pac::pdm::pdmclkctrl::FREQ_A as Frequency; |
| 20 | use crate::{interrupt, Peripheral}; | ||
| 21 | |||
| 22 | #[cfg(any( | 20 | #[cfg(any( |
| 23 | feature = "nrf52840", | 21 | feature = "nrf52840", |
| 24 | feature = "nrf52833", | 22 | feature = "nrf52833", |
| @@ -26,6 +24,7 @@ use crate::{interrupt, Peripheral}; | |||
| 26 | feature = "_nrf9160", | 24 | feature = "_nrf9160", |
| 27 | ))] | 25 | ))] |
| 28 | pub use crate::pac::pdm::ratio::RATIO_A as Ratio; | 26 | pub use crate::pac::pdm::ratio::RATIO_A as Ratio; |
| 27 | use crate::{interrupt, Peripheral}; | ||
| 29 | 28 | ||
| 30 | /// Interrupt handler. | 29 | /// Interrupt handler. |
| 31 | pub struct InterruptHandler<T: Instance> { | 30 | pub struct InterruptHandler<T: Instance> { |
