diff options
Diffstat (limited to 'rtic-macros/src/codegen')
-rw-r--r-- | rtic-macros/src/codegen/bindings.rs | 7 | ||||
-rw-r--r-- | rtic-macros/src/codegen/bindings/template.rs | 2 |
2 files changed, 1 insertions, 8 deletions
diff --git a/rtic-macros/src/codegen/bindings.rs b/rtic-macros/src/codegen/bindings.rs index 6c214cdb..c328ee0b 100644 --- a/rtic-macros/src/codegen/bindings.rs +++ b/rtic-macros/src/codegen/bindings.rs @@ -1,10 +1,3 @@ -#[cfg(not(any( - feature = "cortex-m-source-masking", - feature = "cortex-m-basepri", - feature = "test-template" -)))] -compile_error!("No backend selected"); - #[cfg(any(feature = "cortex-m-source-masking", feature = "cortex-m-basepri"))] pub use cortex::*; diff --git a/rtic-macros/src/codegen/bindings/template.rs b/rtic-macros/src/codegen/bindings/template.rs index a33bae8e..690dfb03 100644 --- a/rtic-macros/src/codegen/bindings/template.rs +++ b/rtic-macros/src/codegen/bindings/template.rs @@ -43,6 +43,6 @@ pub fn interrupt_exit(_app: &App, _analysis: &CodegenAnalysis) -> Vec<TokenStrea vec![] } -pub fn async_prio_limit(app: &App, _analysis: &CodegenAnalysis) -> Vec<TokenStream2> { +pub fn async_prio_limit(_app: &App, _analysis: &CodegenAnalysis) -> Vec<TokenStream2> { vec![] } |