diff options
author | 2019-10-29 10:17:08 +0000 | |
---|---|---|
committer | 2019-10-29 10:17:08 +0000 | |
commit | 130d2d89f647d6076e47d3a73a7c33843b735b02 (patch) | |
tree | e7c0d50c4e4f6bd6834e9713364a0c241c163c6f /src/peripheral/dwt.rs | |
parent | 5e8756752e91f17e76db5118637efddfaeb96382 (diff) | |
parent | 2d4b6e7f9f1741029649164d7d93e2f05e89adc4 (diff) | |
download | cortex-m-130d2d89f647d6076e47d3a73a7c33843b735b02.tar.gz cortex-m-130d2d89f647d6076e47d3a73a7c33843b735b02.tar.zst cortex-m-130d2d89f647d6076e47d3a73a7c33843b735b02.zip |
Merge #174
174: Enable clippy in CI r=thejpster a=m-ou-se
Co-authored-by: Mara Bos <m-ou.se@m-ou.se>
Diffstat (limited to 'src/peripheral/dwt.rs')
-rw-r--r-- | src/peripheral/dwt.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peripheral/dwt.rs b/src/peripheral/dwt.rs index 1f7655a..bd7b3ff 100644 --- a/src/peripheral/dwt.rs +++ b/src/peripheral/dwt.rs @@ -82,6 +82,6 @@ impl DWT { #[cfg(not(armv6m))] pub fn unlock() { // NOTE(unsafe) atomic write to a stateless, write-only register - unsafe { (*Self::ptr()).lar.write(0xC5ACCE55) } + unsafe { (*Self::ptr()).lar.write(0xC5AC_CE55) } } } |