mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-01 11:53:53 -04:00
Use the low force register.
This commit is contained in:
parent
130e2f2c0a
commit
799cccac42
2 changed files with 3 additions and 3 deletions
|
@ -115,7 +115,7 @@ void vPortEnterCritical( void )
|
|||
do
|
||||
{
|
||||
portDISABLE_INTERRUPTS();
|
||||
if( MCF_INTC0_INTFRCH == 0UL )
|
||||
if( MCF_INTC0_INTFRCL == 0UL )
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
@ -144,7 +144,7 @@ unsigned portLONG ulSavedInterruptMask;
|
|||
|
||||
ulSavedInterruptMask = portSET_INTERRUPT_MASK_FROM_ISR();
|
||||
/* Note this will clear all forced interrupts - this is done for speed. */
|
||||
MCF_INTC0_INTFRCH = 0;
|
||||
MCF_INTC0_INTFRCL = 0;
|
||||
vTaskSwitchContext();
|
||||
portCLEAR_INTERRUPT_MASK_FROM_ISR( ulSavedInterruptMask );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue