File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -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
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ typedef struct StreamBufferDef_t * StreamBufferHandle_t;
172
172
* that is greater than the buffer size.
173
173
*
174
174
* @param pucStreamBufferStorageArea Must point to a uint8_t array that is at
175
- * least xBufferSizeBytes + 1 big. This is the array to which streams are
175
+ * least xBufferSizeBytes big. This is the array to which streams are
176
176
* copied when they are written to the stream buffer.
177
177
*
178
178
* @param pxStaticStreamBuffer Must point to a variable of type
@@ -202,9 +202,9 @@ typedef struct StreamBufferDef_t * StreamBufferHandle_t;
202
202
* StreamBufferHandle_t xStreamBuffer;
203
203
* const size_t xTriggerLevel = 1;
204
204
*
205
- * xStreamBuffer = xStreamBufferCreateStatic( sizeof( ucBufferStorage ),
205
+ * xStreamBuffer = xStreamBufferCreateStatic( sizeof( ucStorageBuffer ),
206
206
* xTriggerLevel,
207
- * ucBufferStorage ,
207
+ * ucStorageBuffer ,
208
208
* &xStreamBufferStruct );
209
209
*
210
210
* // As neither the pucStreamBufferStorageArea or pxStaticStreamBuffer
You can’t perform that action at this time.
0 commit comments