diff options
author | 2019-07-29 20:22:11 +0000 | |
---|---|---|
committer | 2019-07-29 20:22:11 +0000 | |
commit | 1aa7d5dba9f3a50d1568bcfddc4073ac08d4ee1e (patch) | |
tree | 09e8c83bc0e843c20e5f1589f702e945d335d4a8 /src/interrupt.rs | |
parent | 6a213910f7f8920906c2f8882cbc1f1a3ebc3627 (diff) | |
parent | 9987c6f9e77d50feb6b77be4c9eae84a988e1fdf (diff) | |
download | cortex-m-1aa7d5dba9f3a50d1568bcfddc4073ac08d4ee1e.tar.gz cortex-m-1aa7d5dba9f3a50d1568bcfddc4073ac08d4ee1e.tar.zst cortex-m-1aa7d5dba9f3a50d1568bcfddc4073ac08d4ee1e.zip |
Merge #160
160: Update for 2018 edition r=korken89 a=adamgreig
Co-authored-by: Adam Greig <adam@adamgreig.com>
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 b57cc80..58f552a 100644 --- a/src/interrupt.rs +++ b/src/interrupt.rs @@ -61,7 +61,7 @@ pub fn free<F, R>(f: F) -> R where F: FnOnce(&CriticalSection) -> R, { - let primask = ::register::primask::read(); + let primask = crate::register::primask::read(); // disable interrupts disable(); |