diff options
author | 2020-06-11 19:21:37 +0200 | |
---|---|---|
committer | 2020-06-11 19:21:37 +0200 | |
commit | 6e233bec029810716c5a48113b22f4446204cfab (patch) | |
tree | d3e64006a7b310d34d82df7aa2a4467c03595e55 /macros/src/codegen/assertions.rs | |
parent | 4a0393f756cc3ccd480f839eb6b6a9349326fe8e (diff) | |
parent | 602a5b4374961dbcf7f3290053ab9b01f0622c67 (diff) | |
download | rtic-6e233bec029810716c5a48113b22f4446204cfab.tar.gz rtic-6e233bec029810716c5a48113b22f4446204cfab.tar.zst rtic-6e233bec029810716c5a48113b22f4446204cfab.zip |
Merge pull request #325 from AfoHT/rtic-rename
Rename RTFM to RTIC
Diffstat (limited to 'macros/src/codegen/assertions.rs')
-rw-r--r-- | macros/src/codegen/assertions.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/macros/src/codegen/assertions.rs b/macros/src/codegen/assertions.rs index 4a77352f..51bbdbff 100644 --- a/macros/src/codegen/assertions.rs +++ b/macros/src/codegen/assertions.rs @@ -12,13 +12,13 @@ pub fn codegen(core: u8, analysis: &Analysis, extra: &Extra) -> Vec<TokenStream2 if let Some(types) = analysis.send_types.get(&core) { for ty in types { - stmts.push(quote!(rtfm::export::assert_send::<#ty>();)); + stmts.push(quote!(rtic::export::assert_send::<#ty>();)); } } if let Some(types) = analysis.sync_types.get(&core) { for ty in types { - stmts.push(quote!(rtfm::export::assert_sync::<#ty>();)); + stmts.push(quote!(rtic::export::assert_sync::<#ty>();)); } } @@ -26,7 +26,7 @@ pub fn codegen(core: u8, analysis: &Analysis, extra: &Extra) -> Vec<TokenStream2 // `monotonic` timer can be used in multi-core context if analysis.timer_queues.len() > 1 && analysis.timer_queues.contains_key(&core) { let monotonic = extra.monotonic(); - stmts.push(quote!(rtfm::export::assert_multicore::<#monotonic>();)); + stmts.push(quote!(rtic::export::assert_multicore::<#monotonic>();)); } stmts |