From e036d6804bb3158c68b5a3ea4f23302a47cc9beb Mon Sep 17 00:00:00 2001 From: Per Lindgren <per.lindgren@ltu.se> Date: Mon, 16 Mar 2020 10:27:10 +0100 Subject: [PATCH] bare10 even more polish --- examples/bare10.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/bare10.rs b/examples/bare10.rs index f0aa1cb..e009efc 100644 --- a/examples/bare10.rs +++ b/examples/bare10.rs @@ -95,7 +95,6 @@ const APP: () = { // } } - #[task(priority = 1, resources = [ITM])] fn trace_error(cx: trace_error::Context, error: Error) { let stim = &mut cx.resources.ITM.stim[0]; @@ -112,7 +111,7 @@ const APP: () = { } #[task(binds = USART2, priority = 3, resources = [RX], spawn = [trace_data, trace_error, echo])] - fn usart2(cx:usart2::Context) { + fn usart2(cx: usart2::Context) { let rx = cx.resources.RX; match rx.read() { -- GitLab