diff options
Diffstat (limited to 'examples/resource.rs')
-rw-r--r-- | examples/resource.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/resource.rs b/examples/resource.rs index 8632525e..ded97f8e 100644 --- a/examples/resource.rs +++ b/examples/resource.rs @@ -9,7 +9,7 @@ use cortex_m_semihosting::{debug, hprintln}; use lm3s6965::Interrupt; use panic_semihosting as _; -#[rtfm::app(device = lm3s6965)] +#[rtic::app(device = lm3s6965)] const APP: () = { struct Resources { // A resource @@ -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); } // `shared` cannot be accessed from this context |