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;
|
||||
asm!(
|
||||
"mrs {}, cpsr
|
||||
cpsid i", lateout(reg) cpsr);
|
||||
cpsid i", out(reg) cpsr);
|
||||
(cpsr & (1 << 7)) == 0
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user