mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -04:00
Change interrupt mask in yield function.
This commit is contained in:
parent
559e2a850f
commit
b60eba005a
|
@ -125,7 +125,7 @@ _vPortYield:
|
|||
|
||||
; Set the interrupt mask in the status register.
|
||||
stc sr, r0
|
||||
or #240,r0
|
||||
or #H'70, r0
|
||||
ldc r0, sr
|
||||
|
||||
; Restore r0 so its original value can be saved by the movml.l instruction
|
||||
|
|
Loading…
Reference in a new issue