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>
pull/1226/head^2
Niklas 7 months ago committed by GitHub
parent 82099c32a0
commit 36b803e358
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -488,20 +488,21 @@
uint8_t uxRxData; uint8_t uxRxData;
#if ( configSUPPORT_STATIC_ALLOCATION == 1 ) #if ( configSUPPORT_STATIC_ALLOCATION == 1 )
{
/* Defines the memory that will actually hold the streams within the
* stream buffer. */
static uint8_t ucStorageBuffer[ sizeof( configMESSAGE_BUFFER_LENGTH_TYPE ) + 1 ];
/* The variable used to hold the stream buffer structure. */ /* The variable used to hold the stream buffer structure.
* This control information is valid as long as xStreamBuffer
* is valid. */
StaticStreamBuffer_t xStreamBufferStruct; StaticStreamBuffer_t xStreamBufferStruct;
{
/* Defines the memory that will actually hold the streams within the
xStreamBuffer = xStreamBufferCreateStatic( sizeof( ucStorageBuffer ), * stream buffer. */
xTriggerLevelBytes, static uint8_t ucStorageBuffer[ sizeof( configMESSAGE_BUFFER_LENGTH_TYPE ) + 1 ];
ucStorageBuffer,
&xStreamBufferStruct ); xStreamBuffer = xStreamBufferCreateStatic( sizeof( ucStorageBuffer ),
} xTriggerLevelBytes,
ucStorageBuffer,
&xStreamBufferStruct );
}
#else /* if ( configSUPPORT_STATIC_ALLOCATION == 1 ) */ #else /* if ( configSUPPORT_STATIC_ALLOCATION == 1 ) */
{ {
xStreamBuffer = xStreamBufferCreate( sizeof( uint8_t ), xTriggerLevelBytes ); xStreamBuffer = xStreamBufferCreate( sizeof( uint8_t ), xTriggerLevelBytes );

Loading…
Cancel
Save