Skip to content
Snippets Groups Projects
Commit 208fc6f9 authored by Anton's avatar Anton
Browse files

bare8_2

parent 56229e45
No related branches found
No related tags found
No related merge requests found
......@@ -71,8 +71,8 @@ const APP: () = {
let rx = cx.resources.RX;
let tx = cx.resources.TX;
let mut recv = 0;
let mut errors = 0;
let mut recv:u32 = 0;
let mut errors:u32 = 0;
loop {
match block!(rx.read()) {
......@@ -85,8 +85,9 @@ const APP: () = {
errors += 1;
rprintln!("Error {:?}", err);
}
rprintln!("Ok:s {:?}, Errs {:?}", recv,errors);
}
rprintln!("Ok:s {}", recv);
rprintln!("Errs {}", errors);
}
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment