aboutsummaryrefslogtreecommitdiff
path: root/examples/hardware.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hardware.rs')
-rw-r--r--examples/hardware.rs6
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);