diff options
Diffstat (limited to 'examples/interrupt.rs')
-rw-r--r-- | examples/interrupt.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/interrupt.rs b/examples/interrupt.rs index 3fe8ff35..f0069b83 100644 --- a/examples/interrupt.rs +++ b/examples/interrupt.rs @@ -33,8 +33,8 @@ const APP: () = { loop {} } - #[interrupt] - fn UART0(_: UART0::Context) { + #[task(binds = UART0)] + fn uart0(_: uart0::Context) { static mut TIMES: u32 = 0; // Safe access to local `static mut` variable |