From 8ffe2b49e8d51366984398b7b186d1cdfd79c03a Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Sun, 13 Apr 2008 16:36:35 +0000 Subject: [PATCH] Minor tidy up. No functional difference. --- 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 c3872e3747..5583485b74 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; }