aboutsummaryrefslogtreecommitdiff
path: root/examples/types.rs
diff options
context:
space:
mode:
authorEmil Fresk <emil.fresk@gmail.com>2020-06-11 19:21:37 +0200
committerGitHub <noreply@github.com>2020-06-11 19:21:37 +0200
commit6e233bec029810716c5a48113b22f4446204cfab (patch)
treed3e64006a7b310d34d82df7aa2a4467c03595e55 /examples/types.rs
parent4a0393f756cc3ccd480f839eb6b6a9349326fe8e (diff)
parent602a5b4374961dbcf7f3290053ab9b01f0622c67 (diff)
Merge pull request #325 from AfoHT/rtic-rename
Rename RTFM to RTIC
Diffstat (limited to 'examples/types.rs')
-rw-r--r--examples/types.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/types.rs b/examples/types.rs
index fc391d0..29dedaf 100644
--- a/examples/types.rs
+++ b/examples/types.rs
@@ -7,9 +7,9 @@
use cortex_m_semihosting::debug;
use panic_semihosting as _;
-use rtfm::cyccnt;
+use rtic::cyccnt;
-#[rtfm::app(device = lm3s6965, peripherals = true, monotonic = rtfm::cyccnt::CYCCNT)]
+#[rtic::app(device = lm3s6965, peripherals = true, monotonic = rtic::cyccnt::CYCCNT)]
const APP: () = {
struct Resources {
#[init(0)]
@@ -19,7 +19,7 @@ const APP: () = {
#[init(schedule = [foo], spawn = [foo])]
fn init(cx: init::Context) {
let _: cyccnt::Instant = cx.start;
- let _: rtfm::Peripherals = cx.core;
+ let _: rtic::Peripherals = cx.core;
let _: lm3s6965::Peripherals = cx.device;
let _: init::Schedule = cx.schedule;
let _: init::Spawn = cx.spawn;