From b566f5aa20c5a7b73e9d238ea0f3fbb4b37999ed Mon Sep 17 00:00:00 2001 From: liebman Date: Wed, 31 Jul 2024 13:36:04 -0700 Subject: [PATCH] use correct unique features macro --- esp-hal/build.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esp-hal/build.rs b/esp-hal/build.rs index 9ab006e648b..6a3d8f74652 100644 --- a/esp-hal/build.rs +++ b/esp-hal/build.rs @@ -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)] @@ -27,7 +27,7 @@ fn main() -> Result<(), Box> { ); // 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",