aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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>,