aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Per Lindgren <per.lindgren@ltu.se> 2020-06-13 00:19:01 +0200
committerGravatar Per Lindgren <per.lindgren@ltu.se> 2020-06-13 00:19:01 +0200
commitc360ffaad8a2349a8bb210c2de2eed40d1765fd7 (patch)
tree99e056d2cec6ed5dad921f80b8876840669d90ec /src
parent3c208003f564c7f256435d1b3845bd1269a8f506 (diff)
downloadrtic-c360ffaad8a2349a8bb210c2de2eed40d1765fd7.tar.gz
rtic-c360ffaad8a2349a8bb210c2de2eed40d1765fd7.tar.zst
rtic-c360ffaad8a2349a8bb210c2de2eed40d1765fd7.zip
wip2
Diffstat (limited to 'src')
-rw-r--r--src/export.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/export.rs b/src/export.rs
index e23b8f3a..0bfbd703 100644
--- a/src/export.rs
+++ b/src/export.rs
@@ -124,6 +124,7 @@ pub unsafe fn lock<T, R>(
nvic_prio_bits: u8,
f: impl FnOnce(&mut T) -> R,
) -> R {
+
let current = priority.get();
if current < ceiling {