mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Add extra #error message as a configuration sanity check.
This commit is contained in:
parent
ba6d285ea8
commit
c8953a68cd
|
@ -3419,6 +3419,12 @@ TCB_t *pxTCB;
|
|||
volatile UBaseType_t uxArraySize, x;
|
||||
uint32_t ulTotalTime, ulStatsAsPercentage;
|
||||
|
||||
#if( configUSE_TRACE_FACILITY != 1 )
|
||||
{
|
||||
#error configUSE_TRACE_FACILITY must also be set to 1 in FreeRTOSConfig.h to use vTaskGetRunTimeStats().
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* PLEASE NOTE:
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue