From 4442c4692634c90ba60653d42d72f9f259ae1a16 Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Mon, 20 Feb 2023 20:56:18 +0100 Subject: Update backend features to be more clear --- rtic-macros/src/codegen/bindings.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'rtic-macros/src/codegen/bindings.rs') diff --git a/rtic-macros/src/codegen/bindings.rs b/rtic-macros/src/codegen/bindings.rs index a187820..68378b5 100644 --- a/rtic-macros/src/codegen/bindings.rs +++ b/rtic-macros/src/codegen/bindings.rs @@ -1,18 +1,18 @@ #[cfg(not(any( - feature = "cortex_m_source_masking", - feature = "cortex_m_basepri", - feaute = "test_template" + feature = "cortex-m-source-masking", + feature = "cortex-m-basepri", + feaute = "test-template" )))] compile_error!("No backend selected"); -#[cfg(any(feature = "cortex_m_source_masking", feature = "cortex_m_basepri"))] +#[cfg(any(feature = "cortex-m-source-masking", feature = "cortex-m-basepri"))] pub use cortex::*; -#[cfg(feature = "test_template")] +#[cfg(feature = "test-template")] pub use cortex::*; -#[cfg(any(feature = "cortex_m_source_masking", feature = "cortex_m_basepri"))] +#[cfg(any(feature = "cortex-m-source-masking", feature = "cortex-m-basepri"))] mod cortex; -#[cfg(feature = "test_template")] +#[cfg(feature = "test-template")] mod template; -- cgit v1.2.3