aboutsummaryrefslogtreecommitdiff
path: root/examples/pool.rs
diff options
context:
space:
mode:
authorHenrik Tjäder <henrik@tjaders.com>2020-06-11 17:18:29 +0000
committerHenrik Tjäder <henrik@tjaders.com>2020-06-11 17:18:29 +0000
commit602a5b4374961dbcf7f3290053ab9b01f0622c67 (patch)
treed3e64006a7b310d34d82df7aa2a4467c03595e55 /examples/pool.rs
parent4a0393f756cc3ccd480f839eb6b6a9349326fe8e (diff)
Rename RTFM to RTIC
Diffstat (limited to 'examples/pool.rs')
-rw-r--r--examples/pool.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pool.rs b/examples/pool.rs
index 8c44cb1..38d2b6e 100644
--- a/examples/pool.rs
+++ b/examples/pool.rs
@@ -12,7 +12,7 @@ use heapless::{
};
use lm3s6965::Interrupt;
use panic_semihosting as _;
-use rtfm::app;
+use rtic::app;
// Declare a pool of 128-byte memory blocks
pool!(P: [u8; 128]);
@@ -26,7 +26,7 @@ const APP: () = {
// Increase the capacity of the memory pool by ~4
P::grow(MEMORY);
- rtfm::pend(Interrupt::I2C0);
+ rtic::pend(Interrupt::I2C0);
}
#[task(binds = I2C0, priority = 2, spawn = [foo, bar])]