Update stream buffer tests to try resetting a statically allocated stream buffer before deleting it (tests fix in code).

Update trace recorder library.
This commit is contained in:
Richard Barry 2018-07-02 21:58:28 +00:00
parent 0887713969
commit f7fc215247
5 changed files with 317 additions and 222 deletions

View file

@ -644,6 +644,7 @@ BaseType_t xNonBlockingReceiveError = pdFALSE;
string, but no data is written into the buffer so any valid address
will do. */
xTempStreamBuffer = xStreamBufferCreateStatic( sizeof( ucTempBuffer ), sbTRIGGER_LEVEL_1, ucTempBuffer, &xStaticStreamBuffer );
xStreamBufferReset( xTempStreamBuffer );
vStreamBufferDelete( xTempStreamBuffer );
}
}