From cf6850583c7c7b69726531dd56fa0264159f1750 Mon Sep 17 00:00:00 2001 From: Robert Berger Date: Tue, 26 Apr 2022 00:11:51 +0300 Subject: [PATCH] queue.h: cTaskWokenByPost -> xTaskWokenByReceive (#491) Co-authored-by: Robert Berger Co-authored-by: Paul Bartell --- include/queue.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/queue.h b/include/queue.h index 811a1f314..bb5963815 100644 --- a/include/queue.h +++ b/include/queue.h @@ -1400,12 +1400,12 @@ BaseType_t xQueueGiveFromISR( QueueHandle_t xQueue, * vOutputCharacter( cRxedChar ); * * // If removing the character from the queue woke the task that was - * // posting onto the queue cTaskWokenByReceive will have been set to + * // posting onto the queue xTaskWokenByReceive will have been set to * // pdTRUE. No matter how many times this loop iterates only one * // task will be woken. * } * - * if( cTaskWokenByPost != ( char ) pdFALSE; + * if( xTaskWokenByReceive != ( char ) pdFALSE; * { * taskYIELD (); * }