summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2008-04-13 16:36:35 +0000
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2008-04-13 16:36:35 +0000
commit79df956cd454ea2a54173ff705cdb2ae6a7a0e13 (patch)
treeeea94f3471128a7c56befdd172a0ab400645e7d7
parent9ba70193eb19985619bd5bd02d72bacd08192721 (diff)
downloadfreertos-79df956cd454ea2a54173ff705cdb2ae6a7a0e13.tar.gz
freertos-79df956cd454ea2a54173ff705cdb2ae6a7a0e13.tar.bz2
freertos-79df956cd454ea2a54173ff705cdb2ae6a7a0e13.tar.xz
Minor tidy up. No functional difference.
git-svn-id: https://freertos.svn.sourceforge.net/svnroot/freertos/trunk@320 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
-rw-r--r--Demo/WizNET_DEMO_TERN_186/serial/serial.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/Demo/WizNET_DEMO_TERN_186/serial/serial.c b/Demo/WizNET_DEMO_TERN_186/serial/serial.c
index c3872e37..5583485b 100644
--- a/Demo/WizNET_DEMO_TERN_186/serial/serial.c
+++ b/Demo/WizNET_DEMO_TERN_186/serial/serial.c
@@ -443,14 +443,7 @@ portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
/* If posting to the queue woke a task that was blocked on the queue we may
want to switch to the woken task - depending on its priority relative to
the task interrupted by this ISR. */
- if( xHigherPriorityTaskWoken )
- {
- return pdTRUE;
- }
- else
- {
- return pdFALSE;
- }
+ return xHigherPriorityTaskWoken;
}