From e509ba7f17594d99f37611bde5bc1c89f452bae9 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Sun, 13 Apr 2008 16:36:35 +0000 Subject: [PATCH] Minor tidy up. No functional difference. 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 | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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; } -- 2.39.5