aboutsummaryrefslogtreecommitdiff
path: root/rtic-macros/src/codegen
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2023-04-16 12:05:20 +0000
committerGitHub <noreply@github.com>2023-04-16 12:05:20 +0000
commit56bf829931cd3f8267ad435f6ff8f3ae200418b4 (patch)
tree41afd65c26f8e77b02845476cbc15fce672119b3 /rtic-macros/src/codegen
parentef8046b060a375fd5e6b23d62c3a9a303bbd6e11 (diff)
parentcb83309462b1ed6d20ef498d7c2aaa86184c16fc (diff)
Merge #732
732: Docs 1 r=korken89 a=datdenkikniet Going over all of the subprojects and trying to find stuff that may need docs Co-authored-by: datdenkikniet <jcdra1@gmail.com>
Diffstat (limited to 'rtic-macros/src/codegen')
-rw-r--r--rtic-macros/src/codegen/bindings.rs7
-rw-r--r--rtic-macros/src/codegen/bindings/template.rs2
2 files changed, 1 insertions, 8 deletions
diff --git a/rtic-macros/src/codegen/bindings.rs b/rtic-macros/src/codegen/bindings.rs
index 6c214cd..c328ee0 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 a33bae8..690dfb0 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![]
}