]> git.sur5r.net Git - freertos/commitdiff
Minor tidy up. No functional difference.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 13 Apr 2008 16:36:35 +0000 (16:36 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 13 Apr 2008 16:36:35 +0000 (16:36 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@320 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/WizNET_DEMO_TERN_186/serial/serial.c

index c3872e3747678abd44328b045df16d7a90b974c9..5583485b7460ed1363f2088e435321d0ca6ad2fb 100644 (file)
@@ -443,14 +443,7 @@ portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
        /* If posting to the queue woke a task that was blocked on the queue we may\r
        want to switch to the woken task - depending on its priority relative to\r
        the task interrupted by this ISR. */\r
-       if( xHigherPriorityTaskWoken )\r
-       {\r
-               return pdTRUE;\r
-       }\r
-       else\r
-       {\r
-               return pdFALSE;\r
-       }\r
+       return xHigherPriorityTaskWoken;\r
 }\r
 \r
 \r