From: richardbarry Date: Sun, 13 Apr 2008 16:36:35 +0000 (+0000) Subject: Minor tidy up. No functional difference. X-Git-Tag: V5.0.0~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e509ba7f17594d99f37611bde5bc1c89f452bae9;p=freertos Minor tidy up. No functional difference. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@320 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Demo/WizNET_DEMO_TERN_186/serial/serial.c b/Demo/WizNET_DEMO_TERN_186/serial/serial.c index c3872e374..5583485b7 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; }