lp = (LPEvent*)xTraceNextFreeEventBufferSlot();\r
if (lp != NULL)\r
{\r
- lp->type = LOW_POWER_BEGIN + flag; /* BEGIN or END depending on flag */\r
+ lp->type = LOW_POWER_BEGIN + ( uint8_t ) flag; /* BEGIN or END depending on flag */\r
lp->dts = dts;\r
\r
prvTraceUpdateCounters();\r
******************************************************************************/\r
void vTraceClearError(int resetErrorMessage)\r
{\r
+ ( void ) resetErrorMessage;\r
traceErrorMessage = NULL; \r
RecorderDataPtr->internalErrorOccured = 0;\r
}\r
#error FreeRTOS.h must be included before FreeRTOS_Sockets.h.\r
#endif\r
\r
-#ifndef TASK_H\r
- #error The FreeRTOS header file task.h must be included before FreeRTOS_Sockets.h.\r
+#ifndef INC_TASK_H\r
+ #ifndef TASK_H /* For compatibility with older FreeRTOS versions. */\r
+ #error The FreeRTOS header file task.h must be included before FreeRTOS_Sockets.h.\r
+ #endif\r
#endif\r
\r
/* Assigned to an xSocket_t variable when the socket is not valid, probably\r