X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=FreeRTOS%2FDemo%2FCommon%2FMinimal%2FIntQueue.c;h=4d79f35493a431a82601119b0fb3330a5422258d;hb=5a9d0256013681d56938aca3958003333493b050;hp=6fcc07710c23dd7ffdf96af11c76473831e78e33;hpb=4aef70a52970669ee9aca8d8af518c59d70558b2;p=freertos diff --git a/FreeRTOS/Demo/Common/Minimal/IntQueue.c b/FreeRTOS/Demo/Common/Minimal/IntQueue.c index 6fcc07710..4d79f3549 100644 --- a/FreeRTOS/Demo/Common/Minimal/IntQueue.c +++ b/FreeRTOS/Demo/Common/Minimal/IntQueue.c @@ -90,6 +90,10 @@ #include "IntQueue.h" #include "IntQueueTimer.h" +#if( INCLUDE_eTaskGetState != 1 ) + #error INCLUDE_eTaskGetState must be set to 1 in FreeRTOSConfig.h to use this demo file. +#endif + /* Priorities used by test tasks. */ #ifndef intqHIGHER_PRIORITY #define intqHIGHER_PRIORITY ( configMAX_PRIORITIES - 2 )