aboutsummaryrefslogtreecommitdiff
path: root/rtic-macros/src/codegen/bindings/cortex.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rtic-macros/src/codegen/bindings/cortex.rs')
-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::*;