Skip to content

Commit

Permalink
fixed 52820 config warning
Browse files Browse the repository at this point in the history
  • Loading branch information
BartMassey committed Aug 17, 2024
1 parent 7d648ad commit dc1a1a8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nrf-hal-common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,10 @@ pub mod target_constants {
pub const EASY_DMA_SIZE: usize = (1 << 10) - 1;
#[cfg(feature = "52811")]
pub const EASY_DMA_SIZE: usize = (1 << 14) - 1;
#[cfg(feature = "52820")]
pub const EASY_DMA_SIZE: usize = (1 << 15) - 1;
// Currently there is no nrf52820-hal. Would be great
// to fix this.
// #[cfg(feature = "52820")]
// pub const EASY_DMA_SIZE: usize = (1 << 15) - 1;
#[cfg(feature = "52832")]
pub const EASY_DMA_SIZE: usize = (1 << 8) - 1;
#[cfg(feature = "52833")]
Expand Down

0 comments on commit dc1a1a8

Please sign in to comment.