aboutsummaryrefslogtreecommitdiff
path: root/examples/destructure.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/destructure.rs')
-rw-r--r--examples/destructure.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/destructure.rs b/examples/destructure.rs
index 0cc3c1f1..1756bd9e 100644
--- a/examples/destructure.rs
+++ b/examples/destructure.rs
@@ -9,7 +9,7 @@ use cortex_m_semihosting::hprintln;
use lm3s6965::Interrupt;
use panic_semihosting as _;
-#[rtfm::app(device = lm3s6965)]
+#[rtic::app(device = lm3s6965)]
const APP: () = {
struct Resources {
// Some resources to work with
@@ -23,8 +23,8 @@ const APP: () = {
#[init]
fn init(_: init::Context) {
- rtfm::pend(Interrupt::UART0);
- rtfm::pend(Interrupt::UART1);
+ rtic::pend(Interrupt::UART0);
+ rtic::pend(Interrupt::UART1);
}
// Direct destructure