mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 17:48:33 -04:00
Add #define INCLUDE_eTaskGetState 1 to the demos that use the int queue test.
This commit is contained in:
parent
2346014918
commit
a2089bbcf6
24 changed files with 81 additions and 104 deletions
|
@ -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 )
|
||||
|
|
|
@ -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 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue