Add #define INCLUDE_eTaskGetState 1 to the demos that use the int queue test.

This commit is contained in:
Richard Barry 2014-02-17 19:32:20 +00:00
parent 2346014918
commit a2089bbcf6
24 changed files with 81 additions and 104 deletions

View file

@ -84,6 +84,10 @@
/* Demo app includes. */
#include "EventGroupsDemo.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 the tasks. */
#define ebSET_BIT_TASK_PRIORITY ( tskIDLE_PRIORITY )
#define ebWAIT_BIT_TASK_PRIORITY ( tskIDLE_PRIORITY + 1 )

View file

@ -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 )