Fix rustfm and warning

This commit is contained in:
Alexander Walter 2024-12-14 15:48:18 +01:00
parent 3b5993cf48
commit ea374a4736
2 changed files with 2 additions and 3 deletions

View File

@ -18,7 +18,8 @@ use embassy_sync::waitqueue::AtomicWaker;
pub use vals::{Bitframesdd as SddPat, Discardmode as DiscardMode};
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::util::slice_in_ram;
use crate::{interrupt, pac, Peripheral};

View File

@ -1,7 +1,5 @@
//! Power
#[cfg(feature = "nrf52840")]
use crate::chip::pac::NFCT;
#[cfg(feature = "nrf52840")]
use crate::chip::pac::POWER;
#[cfg(any(feature = "nrf9160-s", feature = "nrf9160-ns"))]