Restrict to pacs supporting i2s
This commit is contained in:
@ -74,7 +74,11 @@ pub mod buffered_uarte;
|
||||
pub mod gpio;
|
||||
#[cfg(feature = "gpiote")]
|
||||
pub mod gpiote;
|
||||
// #[cfg(all(feature = "i2s", feature = "nrf52840"))]
|
||||
#[cfg(any(
|
||||
feature = "nrf52832",
|
||||
feature = "nrf52833",
|
||||
feature = "nrf52840",
|
||||
))]
|
||||
pub mod i2s;
|
||||
#[cfg(not(any(feature = "_nrf5340", feature = "_nrf9160")))]
|
||||
pub mod nvmc;
|
||||
|
Reference in New Issue
Block a user