aboutsummaryrefslogtreecommitdiff
path: root/examples/t-binds.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/t-binds.rs')
-rw-r--r--examples/t-binds.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/t-binds.rs b/examples/t-binds.rs
index 3ca4c66e..8d52f58a 100644
--- a/examples/t-binds.rs
+++ b/examples/t-binds.rs
@@ -17,18 +17,18 @@ mod app {
// Cortex-M exception
#[task(binds = SVCall)]
fn foo(c: foo::Context) {
- foo_trampoline(c)
+ crate::foo_trampoline(c)
}
// LM3S6965 interrupt
#[task(binds = UART0)]
fn bar(c: bar::Context) {
- bar_trampoline(c)
+ crate::bar_trampoline(c)
}
}
#[allow(dead_code)]
-fn foo_trampoline(_: foo::Context) {}
+fn foo_trampoline(_: app::foo::Context) {}
#[allow(dead_code)]
-fn bar_trampoline(_: bar::Context) {}
+fn bar_trampoline(_: app::bar::Context) {}