diff options
author | 2020-10-15 18:50:17 +0200 | |
---|---|---|
committer | 2020-10-21 20:25:05 +0200 | |
commit | f96b25fdf2d7421cc16830a4ccac4ebb3e69cc5d (patch) | |
tree | a782f21ca0659eda6b9b667e197c4927490a7bc4 /examples/t-binds.rs | |
parent | 355cb82d0693fe108ac28ec8a0d77e8aab4e6e06 (diff) | |
download | rtic-f96b25fdf2d7421cc16830a4ccac4ebb3e69cc5d.tar.gz rtic-f96b25fdf2d7421cc16830a4ccac4ebb3e69cc5d.tar.zst rtic-f96b25fdf2d7421cc16830a4ccac4ebb3e69cc5d.zip |
Updated examples
More work
Diffstat (limited to 'examples/t-binds.rs')
-rw-r--r-- | examples/t-binds.rs | 8 |
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) {} |