Skip to content

Commit 90c4717

Browse files
committed
Add another missing #[inline].
1 parent 073c8f0 commit 90c4717

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/peripheral/dwt.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ impl DWT {
8282
///
8383
/// Some devices, like the STM32F7, software lock the DWT after a power cycle.
8484
#[cfg(not(armv6m))]
85+
#[inline]
8586
pub fn unlock() {
8687
// NOTE(unsafe) atomic write to a stateless, write-only register
8788
unsafe { (*Self::ptr()).lar.write(0xC5ACCE55) }

0 commit comments

Comments
 (0)