aboutsummaryrefslogtreecommitdiff
path: root/rtic-macros/ui/interrupt-double.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rtic-macros/ui/interrupt-double.rs')
-rw-r--r--rtic-macros/ui/interrupt-double.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/rtic-macros/ui/interrupt-double.rs b/rtic-macros/ui/interrupt-double.rs
new file mode 100644
index 0000000..e2addc7
--- /dev/null
+++ b/rtic-macros/ui/interrupt-double.rs
@@ -0,0 +1,10 @@
+#![no_main]
+
+#[rtic_macros::mock_app(device = mock)]
+mod app {
+ #[task(binds = UART0)]
+ fn foo(_: foo::Context) {}
+
+ #[task(binds = UART0)]
+ fn bar(_: bar::Context) {}
+}