diff options
author | richardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2008-09-17 15:52:54 +0000 |
---|---|---|
committer | richardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2008-09-17 15:52:54 +0000 |
commit | a904ed14242ab60196d8304f31e94792e1587fce (patch) | |
tree | 1f8c0ee5ab4bb72b71fff37ba8e17e9b21d60919 /Source | |
parent | 24431c7f2568c5370ed1f4c1c76c691e71499744 (diff) | |
download | freertos-a904ed14242ab60196d8304f31e94792e1587fce.tar.gz freertos-a904ed14242ab60196d8304f31e94792e1587fce.tar.bz2 freertos-a904ed14242ab60196d8304f31e94792e1587fce.tar.xz |
BUG FIX: Changed
*(portNVIC_INT_CTRL) |= portNVIC_PENDSVSET;
to
*(portNVIC_INT_CTRL) = portNVIC_PENDSVSET;
git-svn-id: https://freertos.svn.sourceforge.net/svnroot/freertos/trunk@468 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
Diffstat (limited to 'Source')
-rw-r--r-- | Source/portable/GCC/ARM_CM3/port.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/portable/GCC/ARM_CM3/port.c b/Source/portable/GCC/ARM_CM3/port.c index 8b954635..b0faf44e 100644 --- a/Source/portable/GCC/ARM_CM3/port.c +++ b/Source/portable/GCC/ARM_CM3/port.c @@ -189,7 +189,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;
}
/*-----------------------------------------------------------*/
@@ -251,7 +251,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();
|