critical sections: each task gets its own context
Fixing what was probably a copy-paste error; different tasks each have different types for their context argument.
@@ -50,7 +50,7 @@ const APP: () = {
}
#[interrupt(binds = UART1, priority = 2, resources = [x])]
- fn bar(c: foo::Context) {
+ fn bar(c: bar::Context) {
let mut x: &mut u64 = c.resources.x;
*x += 1;
