diff --git a/macros/src/codegen/util.rs b/macros/src/codegen/util.rs index 591db62bb3..a7f6fc7e30 100644 --- a/macros/src/codegen/util.rs +++ b/macros/src/codegen/util.rs @@ -48,7 +48,6 @@ pub fn impl_mutex( /// Priority ceiling const CEILING: u8 = #ceiling; - unsafe { rtic::export::lock( #ptr,