diff options
author | RichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2008-09-17 16:01:56 +0000 |
---|---|---|
committer | RichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2008-09-17 16:01:56 +0000 |
commit | 411b82e6fd9c82ca0d9cb1ea7ccfac95922a7f03 (patch) | |
tree | 65ea6d7100fa825ae1409a4d0ee136f11ab1a352 /Source/portable | |
parent | a2d57fb0c27146fc5a9023ba81c674e97377a8c8 (diff) | |
download | freertos-411b82e6fd9c82ca0d9cb1ea7ccfac95922a7f03.tar.gz freertos-411b82e6fd9c82ca0d9cb1ea7ccfac95922a7f03.tar.bz2 freertos-411b82e6fd9c82ca0d9cb1ea7ccfac95922a7f03.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@470 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
Diffstat (limited to 'Source/portable')
-rw-r--r-- | Source/portable/IAR/ARM_CM3/port.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/portable/IAR/ARM_CM3/port.c b/Source/portable/IAR/ARM_CM3/port.c index cc38be73..900acb98 100644 --- a/Source/portable/IAR/ARM_CM3/port.c +++ b/Source/portable/IAR/ARM_CM3/port.c @@ -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();
|