From 90c47174d15b3095964679c416962c5fe6bc3d5c Mon Sep 17 00:00:00 2001 From: Mara Bos Date: Tue, 29 Oct 2019 07:57:30 +0100 Subject: Add another missing #[inline]. --- src/peripheral/dwt.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/peripheral/dwt.rs b/src/peripheral/dwt.rs index 4da7131..b340597 100644 --- a/src/peripheral/dwt.rs +++ b/src/peripheral/dwt.rs @@ -82,6 +82,7 @@ impl DWT { /// /// Some devices, like the STM32F7, software lock the DWT after a power cycle. #[cfg(not(armv6m))] + #[inline] pub fn unlock() { // NOTE(unsafe) atomic write to a stateless, write-only register unsafe { (*Self::ptr()).lar.write(0xC5ACCE55) } -- cgit v1.2.3