mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-11 13:54:16 -04:00
BUG FIX: Changed
*(portNVIC_INT_CTRL) |= portNVIC_PENDSVSET; to *(portNVIC_INT_CTRL) = portNVIC_PENDSVSET;
This commit is contained in:
parent
a91d3d8afe
commit
aa7485ab0f
1 changed files with 2 additions and 2 deletions
|
@ -182,7 +182,7 @@ void vPortEndScheduler( void )
|
||||||
void vPortYieldFromISR( void )
|
void vPortYieldFromISR( void )
|
||||||
{
|
{
|
||||||
/* Set a PendSV to request a context switch. */
|
/* Set a PendSV to request a context switch. */
|
||||||
*(portNVIC_INT_CTRL) |= portNVIC_PENDSVSET;
|
*(portNVIC_INT_CTRL) = portNVIC_PENDSVSET;
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
|
@ -242,7 +242,7 @@ unsigned portLONG ulDummy;
|
||||||
|
|
||||||
/* If using preemption, also force a context switch. */
|
/* If using preemption, also force a context switch. */
|
||||||
#if configUSE_PREEMPTION == 1
|
#if configUSE_PREEMPTION == 1
|
||||||
*(portNVIC_INT_CTRL) |= portNVIC_PENDSVSET;
|
*(portNVIC_INT_CTRL) = portNVIC_PENDSVSET;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ulDummy = portSET_INTERRUPT_MASK_FROM_ISR();
|
ulDummy = portSET_INTERRUPT_MASK_FROM_ISR();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue