mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-12 14:45:09 -05:00
fix AbortDelay.c Test (#1237)
* fix AbortDelay.c Test * Uncrustify: triggered by comment. * Update comment * Fix formatting --------- Co-authored-by: Niklas Jenner <niklas.jenner@ifta.com> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: Monika Singh <moninom@amazon.com>
This commit is contained in:
parent
82099c32a0
commit
36b803e358
1 changed files with 12 additions and 11 deletions
|
|
@ -488,15 +488,16 @@
|
||||||
uint8_t uxRxData;
|
uint8_t uxRxData;
|
||||||
|
|
||||||
#if ( configSUPPORT_STATIC_ALLOCATION == 1 )
|
#if ( configSUPPORT_STATIC_ALLOCATION == 1 )
|
||||||
|
|
||||||
|
/* The variable used to hold the stream buffer structure.
|
||||||
|
* This control information is valid as long as xStreamBuffer
|
||||||
|
* is valid. */
|
||||||
|
StaticStreamBuffer_t xStreamBufferStruct;
|
||||||
{
|
{
|
||||||
/* Defines the memory that will actually hold the streams within the
|
/* Defines the memory that will actually hold the streams within the
|
||||||
* stream buffer. */
|
* stream buffer. */
|
||||||
static uint8_t ucStorageBuffer[ sizeof( configMESSAGE_BUFFER_LENGTH_TYPE ) + 1 ];
|
static uint8_t ucStorageBuffer[ sizeof( configMESSAGE_BUFFER_LENGTH_TYPE ) + 1 ];
|
||||||
|
|
||||||
/* The variable used to hold the stream buffer structure. */
|
|
||||||
StaticStreamBuffer_t xStreamBufferStruct;
|
|
||||||
|
|
||||||
|
|
||||||
xStreamBuffer = xStreamBufferCreateStatic( sizeof( ucStorageBuffer ),
|
xStreamBuffer = xStreamBufferCreateStatic( sizeof( ucStorageBuffer ),
|
||||||
xTriggerLevelBytes,
|
xTriggerLevelBytes,
|
||||||
ucStorageBuffer,
|
ucStorageBuffer,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue