diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/peripheral/dwt.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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) } |