mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-30 15:34:33 +01:00
fix build for thumbv6m
This commit is contained in:
parent
59cff5815b
commit
e72687a366
1 changed files with 1 additions and 0 deletions
|
@ -645,6 +645,7 @@ pub struct C<T> {
|
||||||
|
|
||||||
impl<SC> C<SC> {
|
impl<SC> C<SC> {
|
||||||
/// Raises the system ceiling to match the `resource` ceiling
|
/// Raises the system ceiling to match the `resource` ceiling
|
||||||
|
#[cfg(not(thumbv6m))]
|
||||||
pub fn raise<RC, RES, R, F>(&self, _resource: &'static RES, f: F) -> R
|
pub fn raise<RC, RES, R, F>(&self, _resource: &'static RES, f: F) -> R
|
||||||
where
|
where
|
||||||
RES: ResourceLike<Ceiling = RC>,
|
RES: ResourceLike<Ceiling = RC>,
|
||||||
|
|
Loading…
Reference in a new issue