From 5a2a1d07024c92132639d6961089bdf840049dc1 Mon Sep 17 00:00:00 2001 From: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com> Date: Fri, 5 Nov 2021 14:33:15 -0700 Subject: [PATCH] Change taskYIELD_FROM_ISR to portYIELD_FROM_ISR in docs (#408) --- include/stream_buffer.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/stream_buffer.h b/include/stream_buffer.h index 1ebcea57c..8da4e1e4a 100644 --- a/include/stream_buffer.h +++ b/include/stream_buffer.h @@ -405,10 +405,10 @@ size_t xStreamBufferSend( StreamBufferHandle_t xStreamBuffer, * // priority of the currently executing task was unblocked and a context * // switch should be performed to ensure the ISR returns to the unblocked * // task. In most FreeRTOS ports this is done by simply passing - * // xHigherPriorityTaskWoken into taskYIELD_FROM_ISR(), which will test the + * // xHigherPriorityTaskWoken into portYIELD_FROM_ISR(), which will test the * // variables value, and perform the context switch if necessary. Check the * // documentation for the port in use for port specific instructions. - * taskYIELD_FROM_ISR( xHigherPriorityTaskWoken ); + * portYIELD_FROM_ISR( xHigherPriorityTaskWoken ); * } * @endcode * \defgroup xStreamBufferSendFromISR xStreamBufferSendFromISR @@ -580,10 +580,10 @@ size_t xStreamBufferReceive( StreamBufferHandle_t xStreamBuffer, * // priority of the currently executing task was unblocked and a context * // switch should be performed to ensure the ISR returns to the unblocked * // task. In most FreeRTOS ports this is done by simply passing - * // xHigherPriorityTaskWoken into taskYIELD_FROM_ISR(), which will test the + * // xHigherPriorityTaskWoken into portYIELD_FROM_ISR(), which will test the * // variables value, and perform the context switch if necessary. Check the * // documentation for the port in use for port specific instructions. - * taskYIELD_FROM_ISR( xHigherPriorityTaskWoken ); + * portYIELD_FROM_ISR( xHigherPriorityTaskWoken ); * } * @endcode * \defgroup xStreamBufferReceiveFromISR xStreamBufferReceiveFromISR