mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-01 08:54:14 -04:00
Correct compiler warnings in trace recorder code.
This commit is contained in:
parent
4578154959
commit
d04c2fa753
3 changed files with 6 additions and 3 deletions
|
@ -128,7 +128,7 @@ void vTraceStoreLowPower(uint32_t flag)
|
|||
lp = (LPEvent*)xTraceNextFreeEventBufferSlot();
|
||||
if (lp != NULL)
|
||||
{
|
||||
lp->type = LOW_POWER_BEGIN + flag; /* BEGIN or END depending on flag */
|
||||
lp->type = LOW_POWER_BEGIN + ( uint8_t ) flag; /* BEGIN or END depending on flag */
|
||||
lp->dts = dts;
|
||||
|
||||
prvTraceUpdateCounters();
|
||||
|
|
|
@ -208,6 +208,7 @@ char* xTraceGetLastError(void)
|
|||
******************************************************************************/
|
||||
void vTraceClearError(int resetErrorMessage)
|
||||
{
|
||||
( void ) resetErrorMessage;
|
||||
traceErrorMessage = NULL;
|
||||
RecorderDataPtr->internalErrorOccured = 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue