mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-06-28 12:57:52 +08:00
Change interrupt mask in yield function.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user