Skip to content

Commit dc1a1a8

Browse files
committed
fixed 52820 config warning
1 parent 7d648ad commit dc1a1a8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

nrf-hal-common/src/lib.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,10 @@ pub mod target_constants {
136136
pub const EASY_DMA_SIZE: usize = (1 << 10) - 1;
137137
#[cfg(feature = "52811")]
138138
pub const EASY_DMA_SIZE: usize = (1 << 14) - 1;
139-
#[cfg(feature = "52820")]
140-
pub const EASY_DMA_SIZE: usize = (1 << 15) - 1;
139+
// Currently there is no nrf52820-hal. Would be great
140+
// to fix this.
141+
// #[cfg(feature = "52820")]
142+
// pub const EASY_DMA_SIZE: usize = (1 << 15) - 1;
141143
#[cfg(feature = "52832")]
142144
pub const EASY_DMA_SIZE: usize = (1 << 8) - 1;
143145
#[cfg(feature = "52833")]

0 commit comments

Comments
 (0)