1
0
mirror of https://github.com/FreeRTOS/FreeRTOS-Kernel.git synced 2025-10-20 21:39:57 +08:00

queue.h: cTaskWokenByPost -> xTaskWokenByReceive (#491)

Co-authored-by: Robert Berger <robert.berger@ReliableEmbeddedSystems.com>
Co-authored-by: Paul Bartell <pbartell@amazon.com>
This commit is contained in:
Robert Berger
2022-04-26 00:11:51 +03:00
committed by GitHub
parent ec7c40335d
commit cf6850583c

View File

@@ -1400,12 +1400,12 @@ BaseType_t xQueueGiveFromISR( QueueHandle_t xQueue,
* vOutputCharacter( cRxedChar ); * vOutputCharacter( cRxedChar );
* *
* // If removing the character from the queue woke the task that was * // 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 * // pdTRUE. No matter how many times this loop iterates only one
* // task will be woken. * // task will be woken.
* } * }
* *
* if( cTaskWokenByPost != ( char ) pdFALSE; * if( xTaskWokenByReceive != ( char ) pdFALSE;
* { * {
* taskYIELD (); * taskYIELD ();
* } * }