Skip to content

Commit

Permalink
queue.h: cTaskWokenByPost -> xTaskWokenByReceive (#491)
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Berger <[email protected]>
Co-authored-by: Paul Bartell <[email protected]>
  • Loading branch information
3 people authored Apr 25, 2022
1 parent ec7c403 commit cf68505
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();
* }
Expand Down

0 comments on commit cf68505

Please sign in to comment.