diff options
author | 2019-07-29 13:52:29 -0600 | |
---|---|---|
committer | 2019-07-29 13:52:29 -0600 | |
commit | ac7eaef31a01258a90aa786bbce4d47b17e207c6 (patch) | |
tree | 2849d31f22193c432ee255527633a1c5fa072fca /src/interrupt.rs | |
parent | 6a213910f7f8920906c2f8882cbc1f1a3ebc3627 (diff) | |
download | cortex-m-ac7eaef31a01258a90aa786bbce4d47b17e207c6.tar.gz cortex-m-ac7eaef31a01258a90aa786bbce4d47b17e207c6.tar.zst cortex-m-ac7eaef31a01258a90aa786bbce4d47b17e207c6.zip |
Update for 2018 edition
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(); |