mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
no lock_mut on thumbv6m
This commit is contained in:
parent
cc6c1ad3f3
commit
2d334e76dd
1 changed files with 1 additions and 0 deletions
|
@ -142,6 +142,7 @@ where
|
||||||
/// This method has additional an additional constraint: you can't borrow a
|
/// This method has additional an additional constraint: you can't borrow a
|
||||||
/// resource that has ceiling equal `CEILING`. This constraint is required
|
/// resource that has ceiling equal `CEILING`. This constraint is required
|
||||||
/// to preserve Rust aliasing rules.
|
/// to preserve Rust aliasing rules.
|
||||||
|
#[cfg(not(thumbv6m))]
|
||||||
pub fn lock_mut<R, PRIORITY, F>(
|
pub fn lock_mut<R, PRIORITY, F>(
|
||||||
&'static self,
|
&'static self,
|
||||||
_priority: &mut P<PRIORITY>,
|
_priority: &mut P<PRIORITY>,
|
||||||
|
|
Loading…
Reference in a new issue