mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
BUG FIX: Changed
*(portNVIC_INT_CTRL) |= portNVIC_PENDSVSET; to *(portNVIC_INT_CTRL) = portNVIC_PENDSVSET;
This commit is contained in:
parent
3b34009b75
commit
f8abff1e04
|
@ -159,7 +159,7 @@ void vPortEndScheduler( void )
|
|||
void vPortYieldFromISR( void )
|
||||
{
|
||||
/* Set a PendSV to request a context switch. */
|
||||
*(portNVIC_INT_CTRL) |= portNVIC_PENDSVSET;
|
||||
*(portNVIC_INT_CTRL) = portNVIC_PENDSVSET;
|
||||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -186,7 +186,7 @@ unsigned portLONG ulDummy;
|
|||
|
||||
/* If using preemption, also force a context switch. */
|
||||
#if configUSE_PREEMPTION == 1
|
||||
*(portNVIC_INT_CTRL) |= portNVIC_PENDSVSET;
|
||||
*(portNVIC_INT_CTRL) = portNVIC_PENDSVSET;
|
||||
#endif
|
||||
|
||||
ulDummy = portSET_INTERRUPT_MASK_FROM_ISR();
|
||||
|
|
Loading…
Reference in a new issue