Put comment in right place
@@ -37,13 +37,12 @@ pub mod target_constants {
// NRF52832 8 bits1..0xFF
pub const EASY_DMA_SIZE: usize = 255;
}
- // NRF52840 16 bits 1..0xFFFF
#[cfg(feature = "52840")]
pub mod target_constants {
+ // NRF52840 16 bits 1..0xFFFF
pub const EASY_DMA_SIZE: usize = 65535;
}
-
pub use crate::clocks::Clocks;
pub use crate::delay::Delay;
pub use crate::spim::Spim;
