summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/queue.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/queue.c b/Source/queue.c
index 3801f20b..54dcd837 100644
--- a/Source/queue.c
+++ b/Source/queue.c
@@ -943,12 +943,8 @@ signed portCHAR *pcOriginalReadPosition;
}
}
-/* The two tasks are blocked on the queue, the low priority task is polling/running. */
-
-/* An interrupt occurs here - which unblocks the HP tasks, but they do not run. */
taskENTER_CRITICAL();
{
-/* Because the interrupt occurred the LP task manages to grab the data as the other two tasks are not yet running. */
if( pxQueue->uxMessagesWaiting > ( unsigned portBASE_TYPE ) 0 )
{
/* Remember our read position in case we are just peeking. */