diff options
author | 2020-06-11 17:18:29 +0000 | |
---|---|---|
committer | 2020-06-11 17:18:29 +0000 | |
commit | 602a5b4374961dbcf7f3290053ab9b01f0622c67 (patch) | |
tree | d3e64006a7b310d34d82df7aa2a4467c03595e55 /macros/src/codegen/assertions.rs | |
parent | 4a0393f756cc3ccd480f839eb6b6a9349326fe8e (diff) | |
download | rtic-602a5b4374961dbcf7f3290053ab9b01f0622c67.tar.gz rtic-602a5b4374961dbcf7f3290053ab9b01f0622c67.tar.zst rtic-602a5b4374961dbcf7f3290053ab9b01f0622c67.zip |
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 |