aboutsummaryrefslogtreecommitdiff
path: root/rtic-macros/src/codegen/bindings.rs
diff options
context:
space:
mode:
authorEmil Fresk <emil.fresk@gmail.com>2023-02-20 20:56:18 +0100
committerHenrik Tjäder <henrik@tjaders.com>2023-03-01 00:35:21 +0100
commit4442c4692634c90ba60653d42d72f9f259ae1a16 (patch)
tree9d9febd21d6caf64011c30404808efb043028181 /rtic-macros/src/codegen/bindings.rs
parent9552790dcc5c8469c6c297b0277a83d2c145b56b (diff)
Update backend features to be more clear
Diffstat (limited to 'rtic-macros/src/codegen/bindings.rs')
-rw-r--r--rtic-macros/src/codegen/bindings.rs14
1 files changed, 7 insertions, 7 deletions
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;