aboutsummaryrefslogtreecommitdiff
path: root/examples/baseline.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/baseline.rs')
-rw-r--r--examples/baseline.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/baseline.rs b/examples/baseline.rs
index cc9b412c..3a8ab0e4 100644
--- a/examples/baseline.rs
+++ b/examples/baseline.rs
@@ -35,8 +35,8 @@ const APP: () = {
}
}
- #[interrupt(spawn = [foo])]
- fn UART0(c: UART0::Context) {
+ #[task(binds = UART0, spawn = [foo])]
+ fn uart0(c: uart0::Context) {
hprintln!("UART0(baseline = {:?})", c.start).unwrap();
// `foo` inherits the baseline of `UART0`: its `start` time