aboutsummaryrefslogtreecommitdiff
path: root/rtic-macros/src/codegen/bindings
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
parent9552790dcc5c8469c6c297b0277a83d2c145b56b (diff)
Update backend features to be more clear
Diffstat (limited to 'rtic-macros/src/codegen/bindings')
-rw-r--r--rtic-macros/src/codegen/bindings/cortex.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/rtic-macros/src/codegen/bindings/cortex.rs b/rtic-macros/src/codegen/bindings/cortex.rs
index d5eb12e..3f0584c 100644
--- a/rtic-macros/src/codegen/bindings/cortex.rs
+++ b/rtic-macros/src/codegen/bindings/cortex.rs
@@ -8,9 +8,9 @@ use quote::quote;
use std::collections::HashSet;
use syn::{parse, Attribute, Ident};
-#[cfg(feature = "cortex_m_basepri")]
+#[cfg(feature = "cortex-m-basepri")]
pub use basepri::*;
-#[cfg(feature = "cortex_m_source_masking")]
+#[cfg(feature = "cortex-m-source-masking")]
pub use source_masking::*;
/// Whether `name` is an exception with configurable priority
@@ -30,7 +30,7 @@ fn is_exception(name: &Ident) -> bool {
)
}
-#[cfg(feature = "cortex_m_source_masking")]
+#[cfg(feature = "cortex-m-source-masking")]
mod source_masking {
use super::*;
use std::collections::HashMap;
@@ -119,7 +119,7 @@ mod source_masking {
}
}
-#[cfg(feature = "cortex_m_basepri")]
+#[cfg(feature = "cortex-m-basepri")]
mod basepri {
use super::*;