diff options
author | 2020-06-11 17:18:29 +0000 | |
---|---|---|
committer | 2020-06-11 17:18:29 +0000 | |
commit | 602a5b4374961dbcf7f3290053ab9b01f0622c67 (patch) | |
tree | d3e64006a7b310d34d82df7aa2a4467c03595e55 /examples/generics.rs | |
parent | 4a0393f756cc3ccd480f839eb6b6a9349326fe8e (diff) | |
download | rtic-602a5b4374961dbcf7f3290053ab9b01f0622c67.tar.gz rtic-602a5b4374961dbcf7f3290053ab9b01f0622c67.tar.zst rtic-602a5b4374961dbcf7f3290053ab9b01f0622c67.zip |
Rename RTFM to RTIC
Diffstat (limited to 'examples/generics.rs')
-rw-r--r-- | examples/generics.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/generics.rs b/examples/generics.rs index eafc6308..40ab81ac 100644 --- a/examples/generics.rs +++ b/examples/generics.rs @@ -8,9 +8,9 @@ use cortex_m_semihosting::{debug, hprintln}; use lm3s6965::Interrupt; use panic_semihosting as _; -use rtfm::{Exclusive, Mutex}; +use rtic::{Exclusive, Mutex}; -#[rtfm::app(device = lm3s6965)] +#[rtic::app(device = lm3s6965)] const APP: () = { struct Resources { #[init(0)] @@ -19,8 +19,8 @@ const APP: () = { #[init] fn init(_: init::Context) { - rtfm::pend(Interrupt::UART0); - rtfm::pend(Interrupt::UART1); + rtic::pend(Interrupt::UART0); + rtic::pend(Interrupt::UART1); } #[task(binds = UART0, resources = [shared])] @@ -32,7 +32,7 @@ const APP: () = { // second argument has type `resources::shared` advance(STATE, c.resources.shared); - rtfm::pend(Interrupt::UART1); + rtic::pend(Interrupt::UART1); debug::exit(debug::EXIT_SUCCESS); } |