mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-10-02 14:44:32 +00:00
Fix rustfm and warning
This commit is contained in:
parent
3b5993cf48
commit
ea374a4736
@ -18,7 +18,8 @@ use embassy_sync::waitqueue::AtomicWaker;
|
|||||||
pub use vals::{Bitframesdd as SddPat, Discardmode as DiscardMode};
|
pub use vals::{Bitframesdd as SddPat, Discardmode as DiscardMode};
|
||||||
|
|
||||||
use crate::interrupt::InterruptExt;
|
use crate::interrupt::InterruptExt;
|
||||||
use crate::pac::{nfct::vals, NFCT};
|
use crate::pac::nfct::vals;
|
||||||
|
use crate::pac::NFCT;
|
||||||
use crate::peripherals::NFCT;
|
use crate::peripherals::NFCT;
|
||||||
use crate::util::slice_in_ram;
|
use crate::util::slice_in_ram;
|
||||||
use crate::{interrupt, pac, Peripheral};
|
use crate::{interrupt, pac, Peripheral};
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
//! Power
|
//! Power
|
||||||
|
|
||||||
#[cfg(feature = "nrf52840")]
|
|
||||||
use crate::chip::pac::NFCT;
|
|
||||||
#[cfg(feature = "nrf52840")]
|
#[cfg(feature = "nrf52840")]
|
||||||
use crate::chip::pac::POWER;
|
use crate::chip::pac::POWER;
|
||||||
#[cfg(any(feature = "nrf9160-s", feature = "nrf9160-ns"))]
|
#[cfg(any(feature = "nrf9160-s", feature = "nrf9160-ns"))]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user