Skip to content

Commit

Permalink
use correct unique features macro
Browse files Browse the repository at this point in the history
  • Loading branch information
liebman committed Jul 31, 2024
1 parent ce2d1b6 commit b566f5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions esp-hal/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use std::{
str::FromStr,
};

use esp_build::assert_unique_used_features;
use esp_build::{assert_unique_features, assert_unique_used_features};
use esp_metadata::{Chip, Config};

#[cfg(debug_assertions)]
Expand All @@ -27,7 +27,7 @@ fn main() -> Result<(), Box<dyn Error>> {
);

// Ensure at most one dma chunk size feature is specified.
assert_unique_used_features!("dma4032", "dma4064");
assert_unique_features!("dma4032", "dma4064");

#[cfg(all(
feature = "flip-link",
Expand Down

0 comments on commit b566f5a

Please sign in to comment.