From aa6f95790c62abaad410537ce8b9ce8fc9ce959c Mon Sep 17 00:00:00 2001 From: "1294644079@qq.com" <1294644079@qq.com> Date: Sat, 18 Apr 2026 23:22:12 +0800 Subject: [PATCH] fix stream buffer example --- include/stream_buffer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/stream_buffer.h b/include/stream_buffer.h index 8a5034255..9f154cb43 100644 --- a/include/stream_buffer.h +++ b/include/stream_buffer.h @@ -760,7 +760,7 @@ size_t xStreamBufferSendFromISR( StreamBufferHandle_t xStreamBuffer, * * Example use: * @code{c} - * void vAFunction( StreamBuffer_t xStreamBuffer ) + * void vAFunction( StreamBufferHandle_t xStreamBuffer ) * { * uint8_t ucRxData[ 20 ]; * size_t xReceivedBytes; @@ -768,7 +768,7 @@ size_t xStreamBufferSendFromISR( StreamBufferHandle_t xStreamBuffer, * * // Receive up to another sizeof( ucRxData ) bytes from the stream buffer. * // Wait in the Blocked state (so not using any CPU processing time) for a - * // maximum of 100ms for the full sizeof( ucRxData ) number of bytes to be + * // maximum of 20ms for the full sizeof( ucRxData ) number of bytes to be * // available. * xReceivedBytes = xStreamBufferReceive( xStreamBuffer, * ( void * ) ucRxData,