aboutsummaryrefslogtreecommitdiff
path: root/macros/src/check.rs
diff options
context:
space:
mode:
authorGravatar Henrik Tjäder <henrik@tjaders.com> 2020-06-11 17:18:29 +0000
committerGravatar Henrik Tjäder <henrik@tjaders.com> 2020-06-11 17:18:29 +0000
commit602a5b4374961dbcf7f3290053ab9b01f0622c67 (patch)
treed3e64006a7b310d34d82df7aa2a4467c03595e55 /macros/src/check.rs
parent4a0393f756cc3ccd480f839eb6b6a9349326fe8e (diff)
downloadrtic-602a5b4374961dbcf7f3290053ab9b01f0622c67.tar.gz
rtic-602a5b4374961dbcf7f3290053ab9b01f0622c67.tar.zst
rtic-602a5b4374961dbcf7f3290053ab9b01f0622c67.zip
Rename RTFM to RTIC
Diffstat (limited to 'macros/src/check.rs')
-rw-r--r--macros/src/check.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/macros/src/check.rs b/macros/src/check.rs
index 0136370c..71634446 100644
--- a/macros/src/check.rs
+++ b/macros/src/check.rs
@@ -1,7 +1,7 @@
use std::collections::HashSet;
use proc_macro2::Span;
-use rtfm_syntax::{
+use rtic_syntax::{
analyze::Analysis,
ast::{App, CustomArg},
};
@@ -21,7 +21,7 @@ impl<'a> Extra<'a> {
pub fn app<'a>(app: &'a App, analysis: &Analysis) -> parse::Result<Extra<'a>> {
if cfg!(feature = "homogeneous") {
- // this RTFM mode uses the same namespace for all cores so we need to check that the
+ // this RTIC mode uses the same namespace for all cores so we need to check that the
// identifiers used for each core `#[init]` and `#[idle]` functions don't collide
let mut seen = HashSet::new();
@@ -219,7 +219,7 @@ pub fn app<'a>(app: &'a App, analysis: &Analysis) -> parse::Result<Extra<'a>> {
} else {
Err(parse::Error::new(
Span::call_site(),
- "a `device` argument must be specified in `#[rtfm::app]`",
+ "a `device` argument must be specified in `#[rtic::app]`",
))
}
}