@@ -760,15 +760,15 @@ size_t xStreamBufferSendFromISR( StreamBufferHandle_t xStreamBuffer,
760760 *
761761 * Example use:
762762 * @code{c}
763- * void vAFunction( StreamBuffer_t xStreamBuffer )
763+ * void vAFunction( StreamBufferHandle_t xStreamBuffer )
764764 * {
765765 * uint8_t ucRxData[ 20 ];
766766 * size_t xReceivedBytes;
767767 * const TickType_t xBlockTime = pdMS_TO_TICKS( 20 );
768768 *
769769 * // Receive up to another sizeof( ucRxData ) bytes from the stream buffer.
770770 * // Wait in the Blocked state (so not using any CPU processing time) for a
771- * // maximum of 100ms for the full sizeof( ucRxData ) number of bytes to be
771+ * // maximum of 20ms for the full sizeof( ucRxData ) number of bytes to be
772772 * // available.
773773 * xReceivedBytes = xStreamBufferReceive( xStreamBuffer,
774774 * ( void * ) ucRxData,
@@ -840,7 +840,7 @@ size_t xStreamBufferReceive( StreamBufferHandle_t xStreamBuffer,
840840 * Example use:
841841 * @code{c}
842842 * // A stream buffer that has already been created.
843- * StreamBuffer_t xStreamBuffer;
843+ * StreamBufferHandle_t xStreamBuffer;
844844 *
845845 * void vAnInterruptServiceRoutine( void )
846846 * {
@@ -1218,7 +1218,7 @@ UBaseType_t uxStreamBufferGetStreamBufferNotificationIndex( StreamBufferHandle_t
12181218 * stream_buffer.h
12191219 *
12201220 * @code{c}
1221- * void vStreamBufferSetStreamBufferNotificationIndex ( StreamBuffer_t xStreamBuffer, UBaseType_t uxNotificationIndex );
1221+ * void vStreamBufferSetStreamBufferNotificationIndex ( StreamBufferHandle_t xStreamBuffer, UBaseType_t uxNotificationIndex );
12221222 * @endcode
12231223 *
12241224 * Set the task notification index used for the supplied stream buffer.
0 commit comments