/* Demo app includes. */\r
#include "EventGroupsDemo.h"\r
\r
+#if( INCLUDE_eTaskGetState != 1 )\r
+ #error INCLUDE_eTaskGetState must be set to 1 in FreeRTOSConfig.h to use this demo file.\r
+#endif\r
+\r
/* Priorities used by the tasks. */\r
#define ebSET_BIT_TASK_PRIORITY ( tskIDLE_PRIORITY )\r
#define ebWAIT_BIT_TASK_PRIORITY ( tskIDLE_PRIORITY + 1 )\r
#define ebDONT_BLOCK ( 0 )\r
\r
/* A 5ms delay. */\r
-#define ebSHORT_DELAY ( 5 / portTICK_RATE_MS )\r
+#define ebSHORT_DELAY ( 5 / portTICK_PERIOD_MS )\r
\r
/* Used in the selective bits test which checks no, one or both tasks blocked on\r
event bits in a group are unblocked as appropriate as different bits get set. */\r
case. */\r
configASSERT( ( uxReturned & ebALL_SYNC_BITS ) == ebALL_SYNC_BITS );\r
\r
+ /* Remove compiler warning if configASSERT() is not defined. */\r
+ ( void ) uxReturned;\r
+\r
/* Wait until the 'test master' task unsuspends this task again. */\r
vTaskSuspend( NULL );\r
\r