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

bare10 even more polish

parent fa6c1232
No related branches found
No related tags found
No related merge requests found
......@@ -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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment