diff options
author | 2017-05-07 16:50:00 -0500 | |
---|---|---|
committer | 2017-05-07 16:50:00 -0500 | |
commit | 46a74971039373eb9642ce990fb9e093048f80a6 (patch) | |
tree | 32d99e92ece323c1785774e32283b8bc75462c8e /src/interrupt.rs | |
parent | 70b967629e31a9d6581ea5fc14d2880f0cc32eab (diff) | |
download | cortex-m-46a74971039373eb9642ce990fb9e093048f80a6.tar.gz cortex-m-46a74971039373eb9642ce990fb9e093048f80a6.tar.zst cortex-m-46a74971039373eb9642ce990fb9e093048f80a6.zip |
remove inner unsafe block from interrupt::enable
Diffstat (limited to 'src/interrupt.rs')
-rw-r--r-- | src/interrupt.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interrupt.rs b/src/interrupt.rs index 412c483..abf9348 100644 --- a/src/interrupt.rs +++ b/src/interrupt.rs @@ -55,7 +55,7 @@ pub fn disable() { pub unsafe fn enable() { match () { #[cfg(target_arch = "arm")] - () => unsafe { + () => { asm!("cpsie i" : : |