diff options
author | 2020-06-11 17:18:29 +0000 | |
---|---|---|
committer | 2020-06-11 17:18:29 +0000 | |
commit | 602a5b4374961dbcf7f3290053ab9b01f0622c67 (patch) | |
tree | d3e64006a7b310d34d82df7aa2a4467c03595e55 /examples/hardware.rs | |
parent | 4a0393f756cc3ccd480f839eb6b6a9349326fe8e (diff) | |
download | rtic-602a5b4374961dbcf7f3290053ab9b01f0622c67.tar.gz rtic-602a5b4374961dbcf7f3290053ab9b01f0622c67.tar.zst rtic-602a5b4374961dbcf7f3290053ab9b01f0622c67.zip |
Rename RTFM to RTIC
Diffstat (limited to 'examples/hardware.rs')
-rw-r--r-- | examples/hardware.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/hardware.rs b/examples/hardware.rs index 77f19d90..9f1c664e 100644 --- a/examples/hardware.rs +++ b/examples/hardware.rs @@ -9,13 +9,13 @@ use cortex_m_semihosting::{debug, hprintln}; use lm3s6965::Interrupt; use panic_semihosting as _; -#[rtfm::app(device = lm3s6965)] +#[rtic::app(device = lm3s6965)] const APP: () = { #[init] fn init(_: init::Context) { // Pends the UART0 interrupt but its handler won't run until *after* // `init` returns because interrupts are disabled - rtfm::pend(Interrupt::UART0); // equivalent to NVIC::pend + rtic::pend(Interrupt::UART0); // equivalent to NVIC::pend hprintln!("init").unwrap(); } @@ -26,7 +26,7 @@ const APP: () = { hprintln!("idle").unwrap(); - rtfm::pend(Interrupt::UART0); + rtic::pend(Interrupt::UART0); debug::exit(debug::EXIT_SUCCESS); |