Skip to content
Snippets Groups Projects
Commit e036d680 authored by Per Lindgren's avatar Per Lindgren
Browse files

bare10 even more polish

parent fa6c1232
Branches
No related tags found
No related merge requests found
...@@ -95,7 +95,6 @@ const APP: () = { ...@@ -95,7 +95,6 @@ const APP: () = {
// } // }
} }
#[task(priority = 1, resources = [ITM])] #[task(priority = 1, resources = [ITM])]
fn trace_error(cx: trace_error::Context, error: Error) { fn trace_error(cx: trace_error::Context, error: Error) {
let stim = &mut cx.resources.ITM.stim[0]; let stim = &mut cx.resources.ITM.stim[0];
...@@ -112,7 +111,7 @@ const APP: () = { ...@@ -112,7 +111,7 @@ const APP: () = {
} }
#[task(binds = USART2, priority = 3, resources = [RX], spawn = [trace_data, trace_error, echo])] #[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; let rx = cx.resources.RX;
match rx.read() { match rx.read() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment