diff options
author | richardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2008-09-17 16:04:31 +0000 |
---|---|---|
committer | richardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2008-09-17 16:04:31 +0000 |
commit | 43b2da917b2472ee2885baf6b6a6486e61b319e2 (patch) | |
tree | 5536f64815fde50f8cfa50a2f3415bfd3726e162 /Source | |
parent | a5fe506c60c97f0d12ba7be7eefd32133ec0ce96 (diff) | |
download | freertos-43b2da917b2472ee2885baf6b6a6486e61b319e2.tar.gz freertos-43b2da917b2472ee2885baf6b6a6486e61b319e2.tar.bz2 freertos-43b2da917b2472ee2885baf6b6a6486e61b319e2.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@472 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
Diffstat (limited to 'Source')
-rw-r--r-- | Source/portable/RVDS/ARM_CM3/port.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/portable/RVDS/ARM_CM3/port.c b/Source/portable/RVDS/ARM_CM3/port.c index 6e34f465..09271af5 100644 --- a/Source/portable/RVDS/ARM_CM3/port.c +++ b/Source/portable/RVDS/ARM_CM3/port.c @@ -182,7 +182,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;
}
/*-----------------------------------------------------------*/
@@ -242,7 +242,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();
|