@@ -165,7 +165,7 @@ typedef void * MessageBufferHandle_t;
165
165
* stored in the message buffer is actually (xBufferSizeBytes - 1).
166
166
*
167
167
* @param pucMessageBufferStorageArea Must point to a uint8_t array that is at
168
- * least xBufferSizeBytes + 1 big. This is the array to which messages are
168
+ * least xBufferSizeBytes big. This is the array to which messages are
169
169
* copied when they are written to the message buffer.
170
170
*
171
171
* @param pxStaticMessageBuffer Must point to a variable of type
@@ -194,8 +194,8 @@ typedef void * MessageBufferHandle_t;
194
194
* {
195
195
* MessageBufferHandle_t xMessageBuffer;
196
196
*
197
- * xMessageBuffer = xMessageBufferCreateStatic( sizeof( ucBufferStorage ),
198
- * ucBufferStorage ,
197
+ * xMessageBuffer = xMessageBufferCreateStatic( sizeof( ucStorageBuffer ),
198
+ * ucStorageBuffer ,
199
199
* &xMessageBufferStruct );
200
200
*
201
201
* // As neither the pucMessageBufferStorageArea or pxStaticMessageBuffer
@@ -737,7 +737,7 @@ typedef void * MessageBufferHandle_t;
737
737
* message_buffer.h
738
738
*
739
739
* <pre>
740
- * BaseType_t xMessageBufferSendCompletedFromISR( MessageBufferHandle_t xStreamBuffer , BaseType_t *pxHigherPriorityTaskWoken );
740
+ * BaseType_t xMessageBufferSendCompletedFromISR( MessageBufferHandle_t xMessageBuffer , BaseType_t *pxHigherPriorityTaskWoken );
741
741
* </pre>
742
742
*
743
743
* For advanced users only.
@@ -753,7 +753,7 @@ typedef void * MessageBufferHandle_t;
753
753
* See the example implemented in FreeRTOS/Demo/Minimal/MessageBufferAMP.c for
754
754
* additional information.
755
755
*
756
- * @param xStreamBuffer The handle of the stream buffer to which data was
756
+ * @param xMessageBuffer The handle of the stream buffer to which data was
757
757
* written.
758
758
*
759
759
* @param pxHigherPriorityTaskWoken *pxHigherPriorityTaskWoken should be
@@ -777,7 +777,7 @@ typedef void * MessageBufferHandle_t;
777
777
* message_buffer.h
778
778
*
779
779
* <pre>
780
- * BaseType_t xMessageBufferReceiveCompletedFromISR( MessageBufferHandle_t xStreamBuffer , BaseType_t *pxHigherPriorityTaskWoken );
780
+ * BaseType_t xMessageBufferReceiveCompletedFromISR( MessageBufferHandle_t xMessageBuffer , BaseType_t *pxHigherPriorityTaskWoken );
781
781
* </pre>
782
782
*
783
783
* For advanced users only.
@@ -794,7 +794,7 @@ typedef void * MessageBufferHandle_t;
794
794
* See the example implemented in FreeRTOS/Demo/Minimal/MessageBufferAMP.c for
795
795
* additional information.
796
796
*
797
- * @param xStreamBuffer The handle of the stream buffer from which data was
797
+ * @param xMessageBuffer The handle of the stream buffer from which data was
798
798
* read.
799
799
*
800
800
* @param pxHigherPriorityTaskWoken *pxHigherPriorityTaskWoken should be
0 commit comments