aboutsummaryrefslogtreecommitdiff
path: root/examples/t-binds.rs
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2020-10-22 16:48:56 +0000
committerGravatar GitHub <noreply@github.com> 2020-10-22 16:48:56 +0000
commit9fb5a223cb8adb01381650b66eab28ea5abc98ed (patch)
tree357983fd15ba52ea221f20b5cb14b96783d07d51 /examples/t-binds.rs
parent6de4f1a797c81aec6c24f47872e5d3968344684c (diff)
parent17e976ab495234f9f53f56e6693850af077cf701 (diff)
downloadrtic-9fb5a223cb8adb01381650b66eab28ea5abc98ed.tar.gz
rtic-9fb5a223cb8adb01381650b66eab28ea5abc98ed.tar.zst
rtic-9fb5a223cb8adb01381650b66eab28ea5abc98ed.zip
Merge #396
396: Fix namespaces r=AfoHT a=korken89 Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
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) {}