aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <jorge@japaric.io> 2017-04-25 11:09:51 -0500
committerGravatar Jorge Aparicio <jorge@japaric.io> 2017-04-25 11:09:51 -0500
commite72687a36635ccfce494f8807269bf897b3b6d7b (patch)
tree9111d606a9a5db86bebf0a36ec7298ce6043a089 /src
parent59cff5815b4ebde5f146575f02f39e1480b87505 (diff)
downloadrtic-e72687a36635ccfce494f8807269bf897b3b6d7b.tar.gz
rtic-e72687a36635ccfce494f8807269bf897b3b6d7b.tar.zst
rtic-e72687a36635ccfce494f8807269bf897b3b6d7b.zip
fix build for thumbv6m
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 687e8ecf..1d883301 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -645,6 +645,7 @@ pub struct C<T> {
impl<SC> C<SC> {
/// 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
where
RES: ResourceLike<Ceiling = RC>,