mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 14:25:18 +01:00
wip tests do not pass
This commit is contained in:
parent
cbde2c7ef9
commit
20602bd77c
8 changed files with 90 additions and 6 deletions
|
|
@ -29,10 +29,10 @@ mod app {
|
|||
cx.shared.lock(|x| *x.shared += 1);
|
||||
}
|
||||
|
||||
#[task(binds = GPIOB, priority = 2, shared = [shared])]
|
||||
fn high(mut cx: high::Context) {
|
||||
cx.shared.lock(|x| *x.shared += 1);
|
||||
}
|
||||
// #[task(binds = GPIOB, priority = 2, shared = [shared])]
|
||||
// fn high(mut cx: high::Context) {
|
||||
// cx.shared.lock(|x| *x.shared += 1);
|
||||
// }
|
||||
}
|
||||
|
||||
// cargo objdump --example lockall_cost --target thumbv7m-none-eabi --release --features inline-asm -- --disassemble > lockall_cost.ojbdump
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue