forked from M-Labs/zynq-rs
change lateout to out
This commit is contained in:
parent
c48ec58b9e
commit
f6edec89ba
@ -54,7 +54,7 @@ pub unsafe fn enter_critical() -> bool {
|
|||||||
let mut cpsr: u32;
|
let mut cpsr: u32;
|
||||||
asm!(
|
asm!(
|
||||||
"mrs {}, cpsr
|
"mrs {}, cpsr
|
||||||
cpsid i", lateout(reg) cpsr);
|
cpsid i", out(reg) cpsr);
|
||||||
(cpsr & (1 << 7)) == 0
|
(cpsr & (1 << 7)) == 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user