diff options
author | 2020-06-13 00:19:01 +0200 | |
---|---|---|
committer | 2020-06-13 00:19:01 +0200 | |
commit | c360ffaad8a2349a8bb210c2de2eed40d1765fd7 (patch) | |
tree | 99e056d2cec6ed5dad921f80b8876840669d90ec /src | |
parent | 3c208003f564c7f256435d1b3845bd1269a8f506 (diff) | |
download | rtic-c360ffaad8a2349a8bb210c2de2eed40d1765fd7.tar.gz rtic-c360ffaad8a2349a8bb210c2de2eed40d1765fd7.tar.zst rtic-c360ffaad8a2349a8bb210c2de2eed40d1765fd7.zip |
wip2
Diffstat (limited to 'src')
-rw-r--r-- | src/export.rs | 1 |
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 { |